From 8accee6e6360b6b754f49ab711991f21e61cbc51 Mon Sep 17 00:00:00 2001 From: adilger Date: Mon, 16 May 2005 18:01:46 +0000 Subject: [PATCH] Branch b1_4 Use a timeout instead of killing writemany - the OST failover may not have happened yet. r=nathan --- lustre/tests/recovery-small.sh | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) 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; } -- 1.8.3.1