diff options
author | Gabriel Russell <gabriel.russell@mongodb.com> | 2015-08-28 14:17:04 -0400 |
---|---|---|
committer | Gabriel Russell <gabriel.russell@mongodb.com> | 2015-08-28 17:58:45 -0400 |
commit | 81adb3cd5ff235b24270857b1cadc2e4062687de (patch) | |
tree | ca8084272a8d737de51cc4a44e25f17a705d04bc | |
parent | 91504beff4e327937a6812f70d24c74bad681f95 (diff) | |
download | mongo-81adb3cd5ff235b24270857b1cadc2e4062687de.tar.gz |
TOOLS-777 make stat_discover.js more reliable
-rw-r--r-- | test/qa-tests/jstests/stat/stat_discover.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/qa-tests/jstests/stat/stat_discover.js b/test/qa-tests/jstests/stat/stat_discover.js index 34ac9078947..0ff68aa51c6 100644 --- a/test/qa-tests/jstests/stat/stat_discover.js +++ b/test/qa-tests/jstests/stat/stat_discover.js @@ -55,7 +55,7 @@ endTime = new Date(); duration = Math.floor((endTime.valueOf() - startTime.valueOf()) / 1000); -assert.eq(duration, 9, "sleep time affects the total time to produce a number or results"); +assert.gte(duration, 9, "sleep time affects the total time to produce a number or results"); clearRawMongoProgramOutput(); pid = startMongoProgramNoConnect("mongostat", "--host", rs.liveNodes.slaves[1].host, "--discover"); |