From c8d42446e6f6657745dbb96b0b8a336f01414389 Mon Sep 17 00:00:00 2001 From: Wang Di Date: Thu, 22 Apr 2010 12:15:20 -0700 Subject: [PATCH] b=22296 Fix script problem for recovery-double-scale Force the test threads stopped before shutdown the clients in recovery-double-scale. i=Jack.Chen i=WangDi --- lustre/tests/recovery-double-scale.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/lustre/tests/recovery-double-scale.sh b/lustre/tests/recovery-double-scale.sh index 73d96f9..f88afae 100644 --- a/lustre/tests/recovery-double-scale.sh +++ b/lustre/tests/recovery-double-scale.sh @@ -77,6 +77,9 @@ reboot_recover_node () { [ "$SERIAL" ] && wait_recovery_complete $item $((timeout * 4)) || true ;; clients) for c in ${item//,/ }; do + # make sure the client loads die + do_nodes $c "set -x; test -f $TMP/client-load.pid && \ + { kill -s TERM \$(cat $TMP/client-load.pid) || true; }" shutdown_client $c boot_node $c echo "Reintegrating $c" -- 1.8.3.1