diff options
author | Samy Lanka <samy.lanka@mongodb.com> | 2021-02-05 15:08:36 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-03-08 23:02:54 +0000 |
commit | c0d405d22b53a4bdecdfeda449688182a7e7b13a (patch) | |
tree | be6e73073e723fb722f78e63cfbc2e686ed6ec19 | |
parent | a45365e128a2fe44253d3c9ce8858d0c89cbdee0 (diff) | |
download | mongo-c0d405d22b53a4bdecdfeda449688182a7e7b13a.tar.gz |
SERVER-54180 Make ReplSetTest's stepUp function wait 60 seconds for nodes to agree on a primary
(cherry picked from commit ba9b326b0b26b5515ad635033f36d8b6a09707aa)
-rw-r--r-- | src/mongo/shell/replsettest.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/mongo/shell/replsettest.js b/src/mongo/shell/replsettest.js index 1017d5072ce..330be6080ea 100644 --- a/src/mongo/shell/replsettest.js +++ b/src/mongo/shell/replsettest.js @@ -1240,7 +1240,7 @@ var ReplSetTest = function(opts) { // Since assert.soon() timeout is 10 minutes (default), setting // awaitNodesAgreeOnPrimary() timeout as 1 minute to allow retry of replSetStepUp // command on failure of the replica set to agree on the primary. - const timeout = 60 * 100; + const timeout = 60 * 1000; this.awaitNodesAgreeOnPrimary(timeout, this.nodes, this.getNodeId(node)); // getPrimary() guarantees that there will be only one writable primary for a replica |