summaryrefslogtreecommitdiff
path: root/jstests/core/removeb.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/core/removeb.js')
-rw-r--r--jstests/core/removeb.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/core/removeb.js b/jstests/core/removeb.js
index eeed0fc30bc..eb8aafd65f9 100644
--- a/jstests/core/removeb.js
+++ b/jstests/core/removeb.js
@@ -26,7 +26,7 @@ const insertDocs = function(collection, nDocs) {
bulk.insert({a: i});
}
- assert.writeOK(bulk.execute());
+ assert.commandWorked(bulk.execute());
print("Bulk insert " + nDocs + " documents completed");
};
@@ -46,7 +46,7 @@ const p = startParallelShell(function() {
for (let j = 0; j < 100; ++j) {
bulk.insert({a: i + j});
}
- assert.writeOK(bulk.execute());
+ assert.commandWorked(bulk.execute());
if (i % 1000 === 0) {
print(i - 20000 + " of second set of 20000 documents inserted");
}