X-Git-Url: https://git.whamcloud.com/?a=blobdiff_plain;f=lustre%2Ftests%2Finsanity.sh;h=06b5ca317c2bdb1f3bee6fcf7e4ca7fdb4d4b7ed;hb=2f612a11155118f7eecff2782af1e182fe049414;hp=ebf5cb89c44389e99c70da97d1f9deb92a534e09;hpb=efe37534401d6a195f895ebbf7640fdfd595d024;p=fs%2Flustre-release.git diff --git a/lustre/tests/insanity.sh b/lustre/tests/insanity.sh index ebf5cb8..06b5ca3 100755 --- a/lustre/tests/insanity.sh +++ b/lustre/tests/insanity.sh @@ -60,19 +60,6 @@ set_fail_client() { echo "fail $FAIL_CLIENT, next is $FAIL_NEXT" } -shutdown_client() { - client=$1 - if [ "$FAILURE_MODE" = HARD ]; then - $POWER_DOWN $client - while ping -w 3 -c 1 $client > /dev/null 2>&1; do - echo "waiting for node $client to fail" - sleep 1 - done - elif [ "$FAILURE_MODE" = SOFT ]; then - zconf_umount $client $MOUNT -f - fi -} - fail_clients() { num=$1