From 38666a40394917218ca6461d0f2615fce0810c20 Mon Sep 17 00:00:00 2001 From: grev Date: Wed, 30 Jul 2008 21:02:02 +0000 Subject: [PATCH] b=15864 i=Adilger test_6 fix: kill pdsh df; new t-f fn wait_remote_prog --- lustre/tests/insanity.sh | 8 +++++++- 1 file changed, 7 insertions(+), 1 deletion(-) diff --git a/lustre/tests/insanity.sh b/lustre/tests/insanity.sh index cd4ffaf..ed050cb 100755 --- a/lustre/tests/insanity.sh +++ b/lustre/tests/insanity.sh @@ -35,6 +35,8 @@ assert_env mds_HOST MDS_MKFS_OPTS MDSDEV assert_env ost_HOST OST_MKFS_OPTS OSTCOUNT assert_env LIVE_CLIENT FSNAME +# FAIL_CLIENTS list should not contain the LIVE_CLIENT +FAIL_CLIENTS=$(echo " $FAIL_CLIENTS " | sed -re "s/\s+$LIVE_CLIENT\s+/ /g") # This can be a regexp, to allow more clients CLIENTS=${CLIENTS:-"`comma_list $LIVE_CLIENT $FAIL_CLIENTS`"} @@ -370,6 +372,7 @@ test_6() { echo "Test Lustre stability after OST failure" client_df & DFPIDA=$! + echo DFPIDA=$DFPIDA sleep 5 #CLIENT Portion @@ -380,17 +383,20 @@ test_6() { echo "Test Lustre stability after CLIENTs failure" client_df & DFPIDB=$! + echo DFPIDB=$DFPIDB sleep 5 #Reintegration echo "Reintegrating OST/CLIENTs" wait_for ost1 start_ost 1 - reintegrate_clients + reintegrate_clients || return 1 sleep 5 + wait_remote_prog df $((TIMEOUT * 3 + 10)) wait $DFPIDA wait $DFPIDB + echo "Verifying mount" [ -z "$(mounted_lustre_filesystems)" ] && return 3 client_df -- 1.8.3.1