diff options
Diffstat (limited to 'jstests/noPassthrough/noncapped_oplog_creation.js')
-rw-r--r-- | jstests/noPassthrough/noncapped_oplog_creation.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthrough/noncapped_oplog_creation.js b/jstests/noPassthrough/noncapped_oplog_creation.js index 577074e1bb9..9d2f0865fdb 100644 --- a/jstests/noPassthrough/noncapped_oplog_creation.js +++ b/jstests/noPassthrough/noncapped_oplog_creation.js @@ -28,7 +28,7 @@ assert.writeError(localDB.oplog.rs.insert({})); assert.commandFailed(localDB.runCommand({godinsert: 'oplog.$main', obj: {}})); // Test that creating a non-capped oplog collection fails when using $out. -assert.writeOK(localDB.input.insert({})); +assert.commandWorked(localDB.input.insert({})); assert.commandFailed(localDB.runCommand({ aggregate: 'input', pipeline: [{$out: 'oplog.aggregation'}], |