X-Git-Url: https://git.whamcloud.com/?p=fs%2Flustre-release.git;a=blobdiff_plain;f=lustre%2Ftests%2Frecovery-mds-scale.sh;h=82a5507b9d827a992ac8eb7f94363195350e75fe;hp=7aac7d6215b30f461e42888e9c28a5a6f2dbc99c;hb=2e7eb3a092fcc19a4550a677609f65f1fdd1e0d5;hpb=4d524214fbc5f3bfcc1314bed4403236d9023b95 diff --git a/lustre/tests/recovery-mds-scale.sh b/lustre/tests/recovery-mds-scale.sh index 7aac7d6..82a5507 100644 --- a/lustre/tests/recovery-mds-scale.sh +++ b/lustre/tests/recovery-mds-scale.sh @@ -118,7 +118,7 @@ summary_and_cleanup () { # actually failed though. the first node in the END_RUN_NODE is # the one we are really interested in. if [ -n "$END_RUN_NODE" ]; then - var=$(client_var_name $END_RUN_NODE)_load + var=$(node_var_name $END_RUN_NODE)_load echo "Client load failed on node $END_RUN_NODE" echo echo "client $END_RUN_NODE load stdout and debug files : @@ -274,7 +274,7 @@ Try to increase SERVER_FAILOVER_PERIOD (current is $SERVER_FAILOVER_PERIOD), bug log "$SERVERFACET has failed over ${!var} times, and counting..." - if [ $((ELAPSED + sleep)) -gt $DURATION ]; then + if [ $((ELAPSED + sleep)) -ge $DURATION ]; then break fi