diff options
Diffstat (limited to 'jstests/noPassthroughWithMongod/validate_interrupt.js')
-rw-r--r-- | jstests/noPassthroughWithMongod/validate_interrupt.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthroughWithMongod/validate_interrupt.js b/jstests/noPassthroughWithMongod/validate_interrupt.js index c19e682eae3..ecba9cb8756 100644 --- a/jstests/noPassthroughWithMongod/validate_interrupt.js +++ b/jstests/noPassthroughWithMongod/validate_interrupt.js @@ -13,7 +13,7 @@ var i; for (i = 0; i < 1000; i++) { bulk.insert({a: i}); } -assert.writeOK(bulk.execute()); +assert.commandWorked(bulk.execute()); function setTimeoutFailPoint(mode) { var res = db.adminCommand({configureFailPoint: 'maxTimeAlwaysTimeOut', mode: mode}); |