From: adilger Date: Mon, 16 May 2005 18:01:46 +0000 (+0000) Subject: Branch b1_4 X-Git-Tag: v1_7_100~1^25~8^2~123 X-Git-Url: https://git.whamcloud.com/?a=commitdiff_plain;h=8accee6e6360b6b754f49ab711991f21e61cbc51;p=fs%2Flustre-release.git Branch b1_4 Use a timeout instead of killing writemany - the OST failover may not have happened yet. r=nathan --- diff --git a/lustre/tests/recovery-small.sh b/lustre/tests/recovery-small.sh index 4497fb0..5f5bb60 100755 --- a/lustre/tests/recovery-small.sh +++ b/lustre/tests/recovery-small.sh @@ -512,15 +512,13 @@ test_51() { run_test 51 "failover MDS during recovery" test_52_guts() { - do_facet client "writemany -q -a $DIR/$tdir/$tfile 0 5" & + do_facet client "writemany -q -a $DIR/$tdir/$tfile 300 5" & CLIENT_PID=$! echo writemany pid $CLIENT_PID sleep 10 FAILURE_MODE="SOFT" fail ost rc=0 - sleep 5 - kill -USR1 $CLIENT_PID wait $CLIENT_PID || rc=$? # active client process should see an EIO for down OST [ $rc -eq 5 ] && { echo "writemany correctly failed $rc" && return 0; }