diff options
author | Mikhail Shchatko <mikhail.shchatko@mongodb.com> | 2021-06-18 12:23:46 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2021-06-18 15:10:29 +0000 |
commit | 90c6c2c99ac81fdb5119e8441b0799b4d4db6632 (patch) | |
tree | 3e18ae78b772eb8d8f354f40c22811d7e6cf2073 /jstests/noPassthrough | |
parent | ff6b2f2877a0721cd631acaa2057e491ebd8c846 (diff) | |
download | mongo-90c6c2c99ac81fdb5119e8441b0799b4d4db6632.tar.gz |
SERVER-57845 Wrap insert into assert.commandWorked in shell_uses_correct_read_concern.js
Diffstat (limited to 'jstests/noPassthrough')
-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 = () => |