diff options
Diffstat (limited to 'jstests/replsets/read_committed_stale_history.js')
-rw-r--r-- | jstests/replsets/read_committed_stale_history.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/replsets/read_committed_stale_history.js b/jstests/replsets/read_committed_stale_history.js index 1129e0118d9..424e0d838ce 100644 --- a/jstests/replsets/read_committed_stale_history.js +++ b/jstests/replsets/read_committed_stale_history.js @@ -127,8 +127,8 @@ checkDocNotCommitted(nodes[0], {a: 2}); jsTest.log("Allow the original primary to roll back its write and catch up to the new primary"); - assert.commandWorked( - nodes[0].adminCommand({configureFailPoint: 'rollbackHangBeforeStart', mode: 'off'})); + assert.adminCommandWorkedAllowingNetworkError( + nodes[0], {configureFailPoint: 'rollbackHangBeforeStart', mode: 'off'}); assert.soonNoExcept(function() { return null == nodes[0].getDB(dbName).getCollection(collName).findOne({a: 2}); |