diff options
Diffstat (limited to 'jstests/replsets/temp_namespace_restart_as_standalone.js')
-rw-r--r-- | jstests/replsets/temp_namespace_restart_as_standalone.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/temp_namespace_restart_as_standalone.js b/jstests/replsets/temp_namespace_restart_as_standalone.js index e5061629c82..4fb4baefdad 100644 --- a/jstests/replsets/temp_namespace_restart_as_standalone.js +++ b/jstests/replsets/temp_namespace_restart_as_standalone.js @@ -96,7 +96,7 @@ rst.start(secondaryNodeId, {}, restart); // Verify that writes are replicated to the temporary collection and can successfully be applied // by the secondary after having restarted it. -assert.writeOK(primaryDB.temp_collection.insert( +assert.commandWorked(primaryDB.temp_collection.insert( {}, {writeConcern: {w: 2, wtimeout: ReplSetTest.kDefaultTimeoutMS}})); rst.stopSet(); |