X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Ftests%2Frecovery-mds-scale.sh;h=cc78f5fafbf5be60993a0f76da7effe95e1ea577;hp=134f2857a336543bdade59099f47897095380925;hb=af666bef05;hpb=605ac53b1a621afa5d94b9854a7a1783d7e24afe diff --git a/lustre/tests/recovery-mds-scale.sh b/lustre/tests/recovery-mds-scale.sh index 134f285..cc78f5f 100644 --- a/lustre/tests/recovery-mds-scale.sh +++ b/lustre/tests/recovery-mds-scale.sh @@ -155,11 +155,10 @@ failover_target() { exit 7 fi - log "Checking clients are in FULL state before doing next failover..." - if ! wait_clients_import_state $NODES_TO_USE $serverfacet FULL; then - echo "Clients import not FULL, please consider to increase \ -SERVER_FAILOVER_PERIOD=$SERVER_FAILOVER_PERIOD!" - fi + want="FULL|IDLE" + log "Checking clients are in $want state before next failover" + wait_clients_import_state $NODES_TO_USE $serverfacet "$want" || + echo "Client import not $want, please consider to increase SERVER_FAILOVER_PERIOD=$SERVER_FAILOVER_PERIOD!" log "Starting failover on $serverfacet" facet_failover "$serverfacet" || exit 1