diff options
author | Judah Schvimer <judah@mongodb.com> | 2017-04-17 10:02:12 -0400 |
---|---|---|
committer | Judah Schvimer <judah@mongodb.com> | 2017-04-17 10:02:12 -0400 |
commit | 148c0031f517117a39e0c260051169b2831d5e64 (patch) | |
tree | 5507b2f73cf6c6f4d683ff9470ec0b77dcca087a /jstests/replsets/read_committed_stale_history.js | |
parent | 932c2f345598d8e1d283e8c2bb54fd8d0e11c853 (diff) | |
download | mongo-148c0031f517117a39e0c260051169b2831d5e64.tar.gz |
SERVER-28053 allow network errors when turning off rollbackHangBeforeStart failpoint
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}); |