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 03:10:21 +0000 |
commit | d74af844d52a7ccf2638aab13e6a8ce1839fa998 (patch) | |
tree | e8fb41630e68c0f4ce90258c1bb4e4bf603f4ade | |
parent | 7f6d0bad957c5b538538b41a41a16102ee71357d (diff) | |
download | mongo-d74af844d52a7ccf2638aab13e6a8ce1839fa998.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()); |