diff options
author | Alberto Lerner <alerner@10gen.com> | 2010-08-12 14:22:01 -0400 |
---|---|---|
committer | Eliot Horowitz <eliot@10gen.com> | 2010-08-17 11:49:07 -0400 |
commit | 19b587d9254dd79dbaaddffabe82771fb3cd108b (patch) | |
tree | 3b15a90ee1fc33f2afd2e03394fe118007e0c34c | |
parent | 31d81b823dae4d0b55ecde4bb51d41a1a2f35e38 (diff) | |
download | mongo-19b587d9254dd79dbaaddffabe82771fb3cd108b.tar.gz |
Depend less an a time estimate.
-rw-r--r-- | jstests/dbadmin.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/dbadmin.js b/jstests/dbadmin.js index 72ebb920332..b209b0d8182 100644 --- a/jstests/dbadmin.js +++ b/jstests/dbadmin.js @@ -25,6 +25,6 @@ before = db.runCommand( "serverStatus" ) sleep( 5000 ) after = db.runCommand( "serverStatus" ) assert.lt( 3 , after.uptimeEstimate , "up1" ) -assert.lt( 3 , after.uptimeEstimate - before.uptimeEstimate , "up2" ) +assert.gt( after.uptimeEstimate , before.uptimeEstimate , "up2" ) // TODO: add more tests here |