X-Git-Url: https://git.whamcloud.com/gitweb?a=blobdiff_plain;f=lustre%2Ftests%2Freplay-dual.sh;h=026ffe2a33cccb76e3ccc429b8c0ab2af5ab4930;hb=39ed9c679e7c9d0009cd62e9b08071b0e9c612b1;hp=f1dba24b48c99aabb47c6bdd7503381cf4091db8;hpb=dcb312b511998c73277cb84bf94a129b266a37fd;p=fs%2Flustre-release.git diff --git a/lustre/tests/replay-dual.sh b/lustre/tests/replay-dual.sh index f1dba24..026ffe2 100755 --- a/lustre/tests/replay-dual.sh +++ b/lustre/tests/replay-dual.sh @@ -179,6 +179,7 @@ test_11() { mcreate $MOUNT1/$tfile-5 # drop all reint replies for a while do_facet $SINGLEMDS sysctl -w lustre.fail_loc=0x0119 + # note that with this fail_loc set, facet_failover df will fail facet_failover $SINGLEMDS #sleep for while, let both clients reconnect and timeout sleep $((TIMEOUT * 2)) @@ -200,8 +201,8 @@ test_12() { #define OBD_FAIL_LDLM_ENQUEUE 0x302 do_facet $SINGLEMDS sysctl -w lustre.fail_loc=0x80000302 facet_failover $SINGLEMDS - df $MOUNT || return 1 do_facet $SINGLEMDS sysctl -w lustre.fail_loc=0 + df $MOUNT || return 1 ls $DIR/$tfile kill -USR1 $MULTIPID || return 3 @@ -226,8 +227,8 @@ test_13() { # drop close do_facet $SINGLEMDS sysctl -w lustre.fail_loc=0x80000115 facet_failover $SINGLEMDS - df $MOUNT || return 1 do_facet $SINGLEMDS sysctl -w lustre.fail_loc=0 + df $MOUNT || return 1 ls $DIR/$tfile $CHECKSTAT -t file $DIR/$tfile || return 2 @@ -245,7 +246,7 @@ test_14() { umount $MOUNT2 facet_failover $SINGLEMDS - # expect failover to fail + # expect failover to fail due to missing client 2 df $MOUNT && return 1 sleep 1