summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Stearn <redbeard0531@gmail.com>2016-09-16 16:06:34 -0400
committerMathias Stearn <redbeard0531@gmail.com>2016-10-17 14:36:31 -0400
commitb0e644e173b4fb8e6ead588f75841266e0d92ddc (patch)
tree20c0409eb5c279145bd071f53fa2601574c965f5
parent4c5825939bd6a815e9b0cd63be7032fecaaa8cf9 (diff)
downloadmongo-b0e644e173b4fb8e6ead588f75841266e0d92ddc.tar.gz
SERVER-26146 clean_shutdown_oplog_state.js should use ReplSetTest.initiate()
-rw-r--r--jstests/replsets/clean_shutdown_oplog_state.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/clean_shutdown_oplog_state.js b/jstests/replsets/clean_shutdown_oplog_state.js
index c0f94a7c6c9..51dba43ff98 100644
--- a/jstests/replsets/clean_shutdown_oplog_state.js
+++ b/jstests/replsets/clean_shutdown_oplog_state.js
@@ -19,7 +19,7 @@
conf.members[1].votes = 0;
conf.members[1].priority = 0;
printjson(conf);
- assert.commandWorked(rst.nodes[0].adminCommand({replSetInitiate: conf}));
+ rst.initiate(conf);
var primary = rst.getPrimary(); // Waits for PRIMARY state.
var slave = rst.nodes[1];