diff options
author | Moustafa Maher Khalil <m.maher@mongodb.com> | 2021-10-14 02:20:24 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-01-10 02:57:32 +0000 |
commit | ebed720bc2c1037b658bbbe027fbb38965babc2f (patch) | |
tree | 1eb248d32c829be70974aab56c295cbfc9ba4d03 | |
parent | 03f5d2cb95c5c807d6902153409489f4732dc5b4 (diff) | |
download | mongo-ebed720bc2c1037b658bbbe027fbb38965babc2f.tar.gz |
SERVER-60392 Fix timing in priority_takeover_two_nodes_equal_priority test
-rw-r--r-- | jstests/replsets/priority_takeover_two_nodes_equal_priority.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/priority_takeover_two_nodes_equal_priority.js b/jstests/replsets/priority_takeover_two_nodes_equal_priority.js index d6cdd7efbba..525d00723f5 100644 --- a/jstests/replsets/priority_takeover_two_nodes_equal_priority.js +++ b/jstests/replsets/priority_takeover_two_nodes_equal_priority.js @@ -39,7 +39,7 @@ assert.soon( jsTestLog("Stepping down the current primary."); assert.commandWorked( - primary.adminCommand({replSetStepDown: 10 * 60, secondaryCatchUpPeriodSecs: 10 * 60})); + primary.adminCommand({replSetStepDown: 10 * 60 * 3, secondaryCatchUpPeriodSecs: 10 * 60})); // Make sure the primary has stepped down. assert.neq(primary, replTest.getPrimary()); |