summaryrefslogtreecommitdiff
path: root/jstests/noPassthrough/batched_multi_deletes_write_conflict.js
diff options
context:
space:
mode:
authorTommaso Tocci <tommaso.tocci@mongodb.com>2022-10-27 11:51:11 +0000
committerEvergreen Agent <no-reply@evergreen.mongodb.com>2022-10-27 12:20:26 +0000
commit4e28648767281cd2fcf3ced7a68d57e295645d56 (patch)
tree20f095f2bac95b5bc1555aec25737cc82912fc53 /jstests/noPassthrough/batched_multi_deletes_write_conflict.js
parent1281ab11f40eeda824c24f5088294682fe880507 (diff)
downloadmongo-4e28648767281cd2fcf3ced7a68d57e295645d56.tar.gz
SERVER-68782 speedup batched multi delete tests
Diffstat (limited to 'jstests/noPassthrough/batched_multi_deletes_write_conflict.js')
-rw-r--r--jstests/noPassthrough/batched_multi_deletes_write_conflict.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/noPassthrough/batched_multi_deletes_write_conflict.js b/jstests/noPassthrough/batched_multi_deletes_write_conflict.js
index 1ca6a87e1f3..2b0ecac7143 100644
--- a/jstests/noPassthrough/batched_multi_deletes_write_conflict.js
+++ b/jstests/noPassthrough/batched_multi_deletes_write_conflict.js
@@ -24,8 +24,8 @@ assertDropCollection(testDB, collName);
const collCount = 50002; // Intentionally not a multiple of the default batch size.
-assert.commandWorked(
- coll.insertMany([...Array(collCount).keys()].map(x => ({_id: x, a: "a".repeat(1024)}))));
+assert.commandWorked(coll.insertMany(
+ [...Array(collCount).keys()].map(x => ({_id: x, a: "a".repeat(1024)})), {ordered: false}));
assert.commandWorked(testDB.setProfilingLevel(2));