summaryrefslogtreecommitdiff
path: root/jstests/core
diff options
context:
space:
mode:
authorA. Jesse Jiryu Davis <jesse@mongodb.com>2020-07-31 09:09:14 -0400
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2020-08-03 12:51:00 +0000
commit5906d967c3144d09fab6a4cc1daddb295df19ffb (patch)
treef05bb6a94af280a3a40a8be9193f21c609bc4ea3 /jstests/core
parentff52b7a30a20d21b9468efdf39131a0e90e239b8 (diff)
downloadmongo-5906d967c3144d09fab6a4cc1daddb295df19ffb.tar.gz
SERVER-50039 Timing error in dbadmin.js test
Diffstat (limited to 'jstests/core')
-rw-r--r--jstests/core/dbadmin.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/dbadmin.js b/jstests/core/dbadmin.js
index 3d2483b0334..d624aaed62c 100644
--- a/jstests/core/dbadmin.js
+++ b/jstests/core/dbadmin.js
@@ -23,7 +23,7 @@ var localTimeSkew = x.localTime - now;
if (localTimeSkew >= 50) {
print("Warning: localTimeSkew " + localTimeSkew + " > 50ms.");
}
-assert.lt(localTimeSkew, 500, "isMaster.localTime");
+assert.lt(localTimeSkew, 60 * 60 * 1000 /* one minute */, "isMaster.localTime");
var before = db.runCommand("serverStatus");
print(before.uptimeEstimate);