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-04 14:28:35 +0000
commitbaa4319e01ccf034a8052526a3e04a6d53fbee45 (patch)
tree248d9f1d041b1fd827775260f89dd62b9c3266f5
parent154c2d3cfed9109dd542e9faa09a2eee99cebe4e (diff)
downloadmongo-baa4319e01ccf034a8052526a3e04a6d53fbee45.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 bcaefe8c541..98040382979 100644
--- a/jstests/replsets/shutdown_primary.js
+++ b/jstests/replsets/shutdown_primary.js
@@ -43,7 +43,7 @@ assert.writeOK(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.");