diff options
Diffstat (limited to 'jstests/replsets/remove_newly_added_field_after_finishing_initial_sync.js')
-rw-r--r-- | jstests/replsets/remove_newly_added_field_after_finishing_initial_sync.js | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/jstests/replsets/remove_newly_added_field_after_finishing_initial_sync.js b/jstests/replsets/remove_newly_added_field_after_finishing_initial_sync.js index 4d333cbd189..82a95d45c7e 100644 --- a/jstests/replsets/remove_newly_added_field_after_finishing_initial_sync.js +++ b/jstests/replsets/remove_newly_added_field_after_finishing_initial_sync.js @@ -216,8 +216,7 @@ assert.commandWorked(primaryColl.insert({"steady": "state"}, {writeConcern: {w: // is) can be one of them (0, 1, and 3). rst.nodes[2].disconnect(rst.nodes); -// TODO (SERVER-47499): Uncomment this line. -// assert.commandWorked(primaryColl.insert({a: 8}, {writeConcern: {w: "majority"}})); +assert.commandWorked(primaryColl.insert({a: 8}, {writeConcern: {w: "majority"}})); // Only three nodes are needed for an election (0, 1, and 3). assert.commandWorked(rst.nodes[1].adminCommand({replSetStepUp: 1})); @@ -245,4 +244,4 @@ rst.nodes[2].reconnect(rst.nodes); rst.nodes[3].reconnect(rst.nodes); rst.stopSet(); -})();
\ No newline at end of file +})(); |