diff options
author | Janna Golden <janna.golden@mongodb.com> | 2019-11-18 22:48:01 +0000 |
---|---|---|
committer | evergreen <evergreen@mongodb.com> | 2019-11-18 22:48:01 +0000 |
commit | 5f4028944b1a08d7d07747a04101b48dce7ea099 (patch) | |
tree | 226a8e5c4d5a0d80533cb0499320d5b83e0329ae /jstests/sharding | |
parent | 7966e159cbcdd9c1c3da12abab4f21c0e3688aa0 (diff) | |
download | mongo-5f4028944b1a08d7d07747a04101b48dce7ea099.tar.gz |
SERVER-44672 Restart secondary without options in shard_aware_init_secondaries.js
Diffstat (limited to 'jstests/sharding')
-rw-r--r-- | jstests/sharding/shard_aware_init_secondaries.js | 3 |
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(); |