Whamcloud - gitweb
b=24228 fix test duration check to be more accurate
[fs/lustre-release.git] / lustre / tests / recovery-mds-scale.sh
index 298debd..97a1431 100644 (file)
@@ -275,7 +275,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