diff options
Diffstat (limited to 'jstests/core/dbstats.js')
-rw-r--r-- | jstests/core/dbstats.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/dbstats.js b/jstests/core/dbstats.js index aa413f905fc..ea424295ebf 100644 --- a/jstests/core/dbstats.js +++ b/jstests/core/dbstats.js @@ -29,7 +29,7 @@ const doc = { _id: 1, x: 1 }; -assert.writeOK(coll.insert(doc)); +assert.commandWorked(coll.insert(doc)); let dbStats = testDB.runCommand({dbStats: 1}); assert.commandWorked(dbStats); |