summaryrefslogtreecommitdiff
path: root/jstests/replsets/auth1.js
diff options
context:
space:
mode:
authorEsha Maharishi <esha.maharishi@mongodb.com>2016-08-11 18:16:12 -0400
committerEsha Maharishi <esha.maharishi@mongodb.com>2016-08-11 18:16:28 -0400
commitc31b1f07582a39a910de14aa9c72b4a9b1bbe10e (patch)
tree9481813c973e51afb7d405aff1ee1abddc519d62 /jstests/replsets/auth1.js
parentafd98273f7a2d09a4b6ce29950d73f56dfaf3fc4 (diff)
downloadmongo-c31b1f07582a39a910de14aa9c72b4a9b1bbe10e.tar.gz
SERVER-25507 use node's existing options if restart flag passed to ReplSetTest's start()
Diffstat (limited to 'jstests/replsets/auth1.js')
-rw-r--r--jstests/replsets/auth1.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/auth1.js b/jstests/replsets/auth1.js
index d6ced2108f4..23054b9c38d 100644
--- a/jstests/replsets/auth1.js
+++ b/jstests/replsets/auth1.js
@@ -52,7 +52,7 @@ load("jstests/replsets/rslib.js");
print("start up rs");
var rs = new ReplSetTest({"name": name, "nodes": 3});
print("restart 0 with keyFile");
- m = rs.restart(0, {"keyFile": key1_600});
+ m = rs.start(0, {"keyFile": key1_600, noCleanData: true});
print("restart 1 with keyFile");
rs.start(1, {"keyFile": key1_600});
print("restart 2 with keyFile");