diff options
Diffstat (limited to 'jstests/noPassthrough/set_step_params.js')
-rw-r--r-- | jstests/noPassthrough/set_step_params.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/noPassthrough/set_step_params.js b/jstests/noPassthrough/set_step_params.js index d3fbe5deb02..dcde5d4c0d7 100644 --- a/jstests/noPassthrough/set_step_params.js +++ b/jstests/noPassthrough/set_step_params.js @@ -122,9 +122,9 @@ function runSubTest(name, fun) { updateSetParameters(stepParams); } -assert.writeOK(mongosDB.test.insert({x: 1})); -assert.writeOK(mongosDB.test.insert({x: 2})); -assert.writeOK(mongosDB.test.insert({x: 3})); +assert.commandWorked(mongosDB.test.insert({x: 1})); +assert.commandWorked(mongosDB.test.insert({x: 2})); +assert.commandWorked(mongosDB.test.insert({x: 3})); st.rs0.awaitReplication(); runSubTest("MinSize", function() { |