diff options
author | Judah Schvimer <judah@mongodb.com> | 2017-04-21 15:26:16 -0400 |
---|---|---|
committer | Judah Schvimer <judah@mongodb.com> | 2017-04-21 15:26:16 -0400 |
commit | 70415a0fc5019a61954c62c52936f3961cb8c47e (patch) | |
tree | 397918af57aa5beb772748bbbef8d9dde1f23aa3 /jstests | |
parent | 39c86af69f42737deb68cee1279f639ad0cf7709 (diff) | |
download | mongo-70415a0fc5019a61954c62c52936f3961cb8c47e.tar.gz |
SERVER-28387 Extend secondary catchup period during stepdown in server-23299-1.js
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/multiVersion/server-23299-1.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/multiVersion/server-23299-1.js b/jstests/multiVersion/server-23299-1.js index fd0f6a49925..38a6945485c 100644 --- a/jstests/multiVersion/server-23299-1.js +++ b/jstests/multiVersion/server-23299-1.js @@ -44,7 +44,7 @@ load('./jstests/multiVersion/libs/multi_rs.js'); jsTest.log("Stepping down " + n0.host); try { - n0.adminCommand({replSetStepDown: 1200}); + n0.adminCommand({replSetStepDown: 1200, secondaryCatchUpPeriodSecs: 120}); } catch (ex) { assert(tojson(ex).includes( "network error while attempting to run command 'replSetStepDown' on host"), @@ -77,7 +77,7 @@ load('./jstests/multiVersion/libs/multi_rs.js'); jsTest.log("Confirming that target collection remained after switching primaries"); jsTest.log("Stepping down " + n0.host); try { - n1.adminCommand({replSetStepDown: 1200}); + n1.adminCommand({replSetStepDown: 1200, secondaryCatchUpPeriodSecs: 120}); } catch (ex) { assert(tojson(ex).includes( "network error while attempting to run command 'replSetStepDown' on host"), |