From: Elena Gryaznova Date: Mon, 11 Oct 2010 14:17:59 +0000 (+0400) Subject: b=23542 recovery-small: test_27 is not time bounded X-Git-Tag: v1_8_5_RC1~12 X-Git-Url: https://git.whamcloud.com/gitweb?a=commitdiff_plain;h=3d401dff5d1ecd74214042402cc4980b2454585f;p=fs%2Flustre-release.git b=23542 recovery-small: test_27 is not time bounded i=Brian.Murrell --- diff --git a/lustre/tests/recovery-small.sh b/lustre/tests/recovery-small.sh index 03ec75d..5c18236 100755 --- a/lustre/tests/recovery-small.sh +++ b/lustre/tests/recovery-small.sh @@ -757,12 +757,8 @@ test_27() { #define OBD_FAIL_OSC_SHUTDOWN 0x407 do_facet mds lctl set_param fail_loc=0x80000407 # need to wait for reconnect - echo -n waiting for fail_loc - while [ $(do_facet mds lctl get_param -n fail_loc) -eq -2147482617 ]; do - sleep 1 - echo -n . - done - do_facet mds lctl get_param -n fail_loc + echo waiting for fail_loc + wait_update_facet mds "lctl get_param -n fail_loc" "-2147482617" facet_failover mds #no crashes allowed! kill -USR1 $CLIENT_PID