summaryrefslogtreecommitdiff
path: root/jstests/replsets/read_committed_stale_history.js
diff options
context:
space:
mode:
authorJudah Schvimer <judah@mongodb.com>2017-04-17 10:02:12 -0400
committerJudah Schvimer <judah@mongodb.com>2017-04-17 10:02:12 -0400
commit148c0031f517117a39e0c260051169b2831d5e64 (patch)
tree5507b2f73cf6c6f4d683ff9470ec0b77dcca087a /jstests/replsets/read_committed_stale_history.js
parent932c2f345598d8e1d283e8c2bb54fd8d0e11c853 (diff)
downloadmongo-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.js4
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});