summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXueruiFa <xuerui.fa@mongodb.com>2021-07-09 17:55:15 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2021-08-09 21:27:30 +0000
commitedd5982ae7352a920d835ddae1433540e640eead (patch)
treeaa74dce416e2679d894d9882bc42217c6239cffc
parent53d9c0f1ad2e3b7d6befb0135395e782b233fed0 (diff)
downloadmongo-edd5982ae7352a920d835ddae1433540e640eead.tar.gz
SERVER-58402: Increase timeout of shutdown command in shutdown_primary.js
(cherry picked from commit 4fa10a1f27f97fada17bd4bc1da4ad72b1d2e64f)
-rw-r--r--jstests/replsets/shutdown_primary.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/shutdown_primary.js b/jstests/replsets/shutdown_primary.js
index 038049c6753..9818651b593 100644
--- a/jstests/replsets/shutdown_primary.js
+++ b/jstests/replsets/shutdown_primary.js
@@ -43,7 +43,7 @@ assert.commandWorked(testDB.foo.insert({x: 3}));
jsTestLog("Shutting down primary in a parallel shell");
var awaitShell = startParallelShell(function() {
- db.adminCommand({shutdown: 1, timeoutSecs: 60});
+ db.adminCommand({shutdown: 1, timeoutSecs: 200});
}, primary.port);
jsTestLog("Resuming replication.");