diff options
author | seanzimm <sean.zimmerman@mongodb.com> | 2022-12-14 15:18:36 +0000 |
---|---|---|
committer | Evergreen Agent <no-reply@evergreen.mongodb.com> | 2022-12-14 15:48:18 +0000 |
commit | 8bcfe56e1df96e4070194804a5618a8edc537a57 (patch) | |
tree | 66ef07f927615562b77ae1f0d59bc6e4145ce497 /jstests/core | |
parent | 5e00c5519a9e89523305ce0f584d6a10cd665827 (diff) | |
download | mongo-8bcfe56e1df96e4070194804a5618a8edc537a57.tar.gz |
SERVER-72105 Fix BulkWrite js test
Diffstat (limited to 'jstests/core')
-rw-r--r-- | jstests/core/bulk_write.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/core/bulk_write.js b/jstests/core/bulk_write.js index 3ed654f3cf4..6117d23413e 100644 --- a/jstests/core/bulk_write.js +++ b/jstests/core/bulk_write.js @@ -66,7 +66,6 @@ assert.commandFailedWithCode(db.adminCommand({bulkWrite: 1, nsInfo: [{ns: "mydb. // Missing nsInfo assert.commandFailedWithCode( db.adminCommand({bulkWrite: 1, ops: [{insert: 0, document: {skey: "MongoDB"}}]}), [40414]); -})(); // Test valid arguments with invalid values assert.commandFailedWithCode(db.adminCommand({ @@ -94,3 +93,4 @@ assert.commandFailedWithCode( db.adminCommand( {bulkWrite: 1, ops: [{insert: 0, document: {skey: "MongoDB"}}], nsInfo: "test"}), [ErrorCodes.TypeMismatch]); +})(); |