diff options
Diffstat (limited to 'jstests/noPassthrough/indexbg_killop_primary_after_init.js')
-rw-r--r-- | jstests/noPassthrough/indexbg_killop_primary_after_init.js | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/noPassthrough/indexbg_killop_primary_after_init.js b/jstests/noPassthrough/indexbg_killop_primary_after_init.js index 7cd5c318380..2fe700533fc 100644 --- a/jstests/noPassthrough/indexbg_killop_primary_after_init.js +++ b/jstests/noPassthrough/indexbg_killop_primary_after_init.js @@ -39,7 +39,7 @@ if (!enableIndexBuildsCoordinator) { return; } -assert.writeOK(coll.insert({a: 1})); +assert.commandWorked(coll.insert({a: 1})); assert.commandWorked(primary.adminCommand( {configureFailPoint: 'hangAfterInitializingIndexBuild', mode: 'alwaysOn'})); |