Whamcloud - gitweb
LU-11009 test: add version check to test_102 93/32393/2
authorWei Liu <wei3.liu@intel.com>
Mon, 14 May 2018 20:40:25 +0000 (13:40 -0700)
committerJohn L. Hammond <john.hammond@intel.com>
Mon, 11 Jun 2018 20:26:40 +0000 (20:26 +0000)
Skip test_102 if server is equal or less than 2.9.53

Signed-off-by: Wei Liu <wei3.liu@intel.com>
Change-Id: Ib9702ee9b2d174742f229f0c3493524606eacca7
Reviewed-on: https://review.whamcloud.com/32393
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: James Nunez <james.a.nunez@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
lustre/tests/conf-sanity.sh

index f84b8c4..251753d 100644 (file)
@@ -7226,6 +7226,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" && return 0; }
        cleanup || error "cleanup failed with $?"
 
        local mds1dev=$(mdsdevname 1)