summaryrefslogtreecommitdiff
path: root/jstests/sharding/shard_aware_init_secondaries.js
diff options
context:
space:
mode:
authorJanna Golden <janna.golden@mongodb.com>2019-11-18 22:48:01 +0000
committerevergreen <evergreen@mongodb.com>2019-11-18 22:48:01 +0000
commit5f4028944b1a08d7d07747a04101b48dce7ea099 (patch)
tree226a8e5c4d5a0d80533cb0499320d5b83e0329ae /jstests/sharding/shard_aware_init_secondaries.js
parent7966e159cbcdd9c1c3da12abab4f21c0e3688aa0 (diff)
downloadmongo-5f4028944b1a08d7d07747a04101b48dce7ea099.tar.gz
SERVER-44672 Restart secondary without options in shard_aware_init_secondaries.js
Diffstat (limited to 'jstests/sharding/shard_aware_init_secondaries.js')
-rw-r--r--jstests/sharding/shard_aware_init_secondaries.js3
1 files changed, 1 insertions, 2 deletions
diff --git a/jstests/sharding/shard_aware_init_secondaries.js b/jstests/sharding/shard_aware_init_secondaries.js
index bc919924a37..df1cdd7e857 100644
--- a/jstests/sharding/shard_aware_init_secondaries.js
+++ b/jstests/sharding/shard_aware_init_secondaries.js
@@ -50,8 +50,7 @@ assert.eq(shardIdentityDoc.configsvrConnectionString, res.configServer);
assert.eq(shardIdentityDoc.shardName, res.shardName);
assert.eq(shardIdentityDoc.clusterId, res.clusterId);
-var newMongodOptions = Object.extend(secConn.savedOptions, {restart: true});
-replTest.restart(replTest.getNodeId(secConn), newMongodOptions);
+replTest.restart(replTest.getNodeId(secConn));
replTest.waitForMaster();
replTest.awaitSecondaryNodes();