diff options
Diffstat (limited to 'jstests/noPassthroughWithMongod/top_drop.js')
-rw-r--r-- | jstests/noPassthroughWithMongod/top_drop.js | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/jstests/noPassthroughWithMongod/top_drop.js b/jstests/noPassthroughWithMongod/top_drop.js index 61f1736a2bb..bf4866f05c6 100644 --- a/jstests/noPassthroughWithMongod/top_drop.js +++ b/jstests/noPassthroughWithMongod/top_drop.js @@ -56,9 +56,9 @@ function checkTopEntries(expectedEntries) { } // Create a few entries in top. -assert.writeOK(topDB.coll1.insert({})); -assert.writeOK(topDB.coll2.insert({})); -assert.writeOK(topDB.coll3.insert({})); +assert.commandWorked(topDB.coll1.insert({})); +assert.commandWorked(topDB.coll2.insert({})); +assert.commandWorked(topDB.coll3.insert({})); checkTopEntries([topDB.coll1, topDB.coll2, topDB.coll3]); // Check that dropping a collection removes that collection but leaves the others. |