diff options
author | Eric Milkie <milkie@10gen.com> | 2016-12-13 12:59:39 -0500 |
---|---|---|
committer | Eric Milkie <milkie@10gen.com> | 2017-01-04 08:32:46 -0500 |
commit | 8d661adb31c8be42ecf30da99af0ebb294354008 (patch) | |
tree | c9116a4adcb44218a84366e48cac4efc248d343d /jstests | |
parent | 99bac324eef6e04abf06f7f7f5ccfdad8468eb0b (diff) | |
download | mongo-8d661adb31c8be42ecf30da99af0ebb294354008.tar.gz |
SERVER-23759 do not auth when testing shutdown at startup
(cherry picked from commit 0240b9c2e39ae05c607b34b66573bb972ef1f66f)
Diffstat (limited to 'jstests')
-rw-r--r-- | jstests/replsets/shutdown.js | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/jstests/replsets/shutdown.js b/jstests/replsets/shutdown.js index 8a56b9124c3..e16e9af06b3 100644 --- a/jstests/replsets/shutdown.js +++ b/jstests/replsets/shutdown.js @@ -20,7 +20,8 @@ load('jstests/replsets/rslib.js'); rst.awaitReplication(); let id = rst.getNodeId(rst.getSecondary()); - let program = rst.restart( + rst.stop(id); + let program = rst.start( id, {waitForConnect: false, setParameter: "failpoint.shutdownAtStartup={mode:'alwaysOn'}"}); // mongod should exit automatically, since failpoint was set. let exitCode = waitProgram(program.pid); |