diff options
Diffstat (limited to 'jstests/replsets/currentOp_during_automatic_reconfig.js')
-rw-r--r-- | jstests/replsets/currentOp_during_automatic_reconfig.js | 14 |
1 files changed, 2 insertions, 12 deletions
diff --git a/jstests/replsets/currentOp_during_automatic_reconfig.js b/jstests/replsets/currentOp_during_automatic_reconfig.js index 846ab3d0f50..df107eca587 100644 --- a/jstests/replsets/currentOp_during_automatic_reconfig.js +++ b/jstests/replsets/currentOp_during_automatic_reconfig.js @@ -16,13 +16,8 @@ const testName = jsTestName(); const dbName = "testdb"; const collName = "testcoll"; -const rst = new ReplSetTest({ - name: testName, - nodes: [{}], - nodeOptions: {setParameter: {enableAutomaticReconfig: true}}, - settings: {chainingAllowed: false}, - useBridge: true -}); +const rst = new ReplSetTest( + {name: testName, nodes: [{}], settings: {chainingAllowed: false}, useBridge: true}); rst.startSet(); rst.initiateWithHighElectionTimeout(); @@ -30,10 +25,6 @@ const primary = rst.getPrimary(); const primaryDb = primary.getDB(dbName); const primaryColl = primaryDb.getCollection(collName); -// TODO (SERVER-46808): Move this into ReplSetTest.initiate -waitForNewlyAddedRemovalForNodeToBeCommitted(primary, 0); -waitForConfigReplication(primary, rst.nodes); - assert.commandWorked(primaryColl.insert({"starting": "doc"})); jsTestLog("Adding a new node to the replica set"); @@ -42,7 +33,6 @@ const secondary = rst.add({ setParameter: { 'failpoint.initialSyncHangBeforeFinish': tojson({mode: 'alwaysOn'}), 'numInitialSyncAttempts': 1, - 'enableAutomaticReconfig': true, } }); rst.reInitiate(); |