From: Wei Liu Date: Wed, 9 May 2018 19:53:11 +0000 (-0700) Subject: LU-11009 test: add version check to test_102 X-Git-Tag: 2.11.55~51 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=refs%2Fchanges%2F40%2F32340%2F7;p=fs%2Flustre-release.git LU-11009 test: add version check to test_102 Skip test_102 if server is equal or less than 2.9.53 Test-Parameters:trivial testlist=conf-sanity envdefinitions=ONLY=102 serverjob=lustre-b2_9 serverbuildno=22 Signed-off-by: Wei Liu Change-Id: I1964a7a5df8b910652b2fe774703d7b62f953e95 Reviewed-on: https://review.whamcloud.com/32340 Reviewed-by: James Nunez Tested-by: Jenkins Tested-by: Maloo Reviewed-by: Oleg Drokin --- diff --git a/lustre/tests/conf-sanity.sh b/lustre/tests/conf-sanity.sh index 2535a64..02df5f9 100644 --- a/lustre/tests/conf-sanity.sh +++ b/lustre/tests/conf-sanity.sh @@ -7264,6 +7264,8 @@ test_101() { run_test 101 "Race MDT->OST reconnection with create" test_102() { + [[ $(lustre_version_code $SINGLEMDS) -gt $(version_code 2.9.53) ]] || + skip "Need server version greater than 2.9.53" cleanup || error "cleanup failed with $?" local mds1dev=$(mdsdevname 1)