diff options
Diffstat (limited to 'jstests/noPassthroughWithMongod/remove9.js')
-rw-r--r-- | jstests/noPassthroughWithMongod/remove9.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthroughWithMongod/remove9.js b/jstests/noPassthroughWithMongod/remove9.js index b7da7b58f95..ba5fd220795 100644 --- a/jstests/noPassthroughWithMongod/remove9.js +++ b/jstests/noPassthroughWithMongod/remove9.js @@ -7,7 +7,7 @@ pid = startMongoProgramNoConnect("mongo", "--eval", js, db ? db.getMongo().host Random.setRandomSeed(); for (var i = 0; i < 10000; ++i) { - assert.writeOK(t.remove({i: Random.randInt(10000)})); + assert.commandWorked(t.remove({i: Random.randInt(10000)})); } stopMongoProgramByPid(pid); |