diff options
Diffstat (limited to 'jstests/noPassthrough/shell_uses_correct_read_concern.js')
-rw-r--r-- | jstests/noPassthrough/shell_uses_correct_read_concern.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthrough/shell_uses_correct_read_concern.js b/jstests/noPassthrough/shell_uses_correct_read_concern.js index 4ecc4b6e5be..f3005c0f346 100644 --- a/jstests/noPassthrough/shell_uses_correct_read_concern.js +++ b/jstests/noPassthrough/shell_uses_correct_read_concern.js @@ -16,7 +16,7 @@ const testDoc = { "test": "doc", "_id": 0 }; -coll.insertOne(testDoc); +assert.commandWorked(coll.insertOne(testDoc)); rst.awaitReplication(); const getMajorityRCCount = () => |