Un-duplicate test_24 and disable the test if MDS version
is 2.5.2 or older.
Change-Id: I3564c44a21bf149baf09294d42edd1529179736a
Signed-off-by: Wei Liu <wei3.liu@intel.com>
Reviewed-on: http://review.whamcloud.com/11262
Tested-by: Jenkins
Tested-by: Maloo <hpdd-maloo@intel.com>
Reviewed-by: Jian Yu <jian.yu@intel.com>
Reviewed-by: John L. Hammond <john.hammond@intel.com>
Reviewed-by: Oleg Drokin <oleg.drokin@intel.com>
run_test 23d "c1 rmdir d1, M0 drop update reply and fail M0/M1, c2 mkdir d1"
test_24 () {
+ [[ $(lustre_version_code $SINGLEMDS) -gt $(version_code 2.5.2) ]] ||
+ { skip "Need MDS version newer than 2.5.2"; return 0; }
+
touch $MOUNT/$tfile
stat $MOUNT/$tfile >&/dev/null
# OBD_FAIL_MDS_REINT_NET_REP
# end commit on sharing tests
-test_24() {
+test_25() {
cancel_lru_locks osc
$SETSTRIPE -i 0 -c 1 $DIR/$tfile
killall multiop
wait
}
-run_test 24 "replay|resend"
+run_test 25 "replay|resend"
complete $SECONDS
SLEEP=$((`date +%s` - $NOW))