summaryrefslogtreecommitdiff
path: root/jstests/replsets/reconfig_without_increased_queues.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/reconfig_without_increased_queues.js')
-rw-r--r--jstests/replsets/reconfig_without_increased_queues.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/reconfig_without_increased_queues.js b/jstests/replsets/reconfig_without_increased_queues.js
index 39ef7a7e60c..8097b59b72c 100644
--- a/jstests/replsets/reconfig_without_increased_queues.js
+++ b/jstests/replsets/reconfig_without_increased_queues.js
@@ -61,7 +61,7 @@
try {
assert.commandWorked(replTest.getPrimary().adminCommand({replSetReconfig: newConfig}));
} catch (e) {
- if (tojson(e).indexOf("error doing query: failed") < 0) {
+ if (!isNetworkError(e)) {
throw e;
}
}