summaryrefslogtreecommitdiff
path: root/jstests/replsets/libs/rollback_test_deluxe.js
diff options
context:
space:
mode:
authorMax Hirschhorn <max.hirschhorn@mongodb.com>2019-02-11 18:52:28 -0500
committerMax Hirschhorn <max.hirschhorn@mongodb.com>2019-02-11 18:52:28 -0500
commite4f593b3dee7808d27c9db54c517ab198f5d9f89 (patch)
tree2f2a20a2008bed44a29aa3bb227def0d25ade0b9 /jstests/replsets/libs/rollback_test_deluxe.js
parent8a02cc431f30168a80b22f109f6430761858734d (diff)
downloadmongo-e4f593b3dee7808d27c9db54c517ab198f5d9f89.tar.gz
SERVER-35551 Avoid restarting mongobridge processes.
Changes ReplSetTest, RollbackTest, and RollbackTestDeluxe to avoid restarting the mongobridge process associated with the mongod process being restarted. This ensures that any partitioning which has been configured remains intact after the server is restarted.
Diffstat (limited to 'jstests/replsets/libs/rollback_test_deluxe.js')
-rw-r--r--jstests/replsets/libs/rollback_test_deluxe.js2
1 files changed, 1 insertions, 1 deletions
diff --git a/jstests/replsets/libs/rollback_test_deluxe.js b/jstests/replsets/libs/rollback_test_deluxe.js
index 0c4cb988dfc..b3b85de152d 100644
--- a/jstests/replsets/libs/rollback_test_deluxe.js
+++ b/jstests/replsets/libs/rollback_test_deluxe.js
@@ -572,7 +572,7 @@ function RollbackTestDeluxe(name = "FiveNodeDoubleRollbackTest", replSet) {
}
log(`Stopping node ${hostName} with signal ${signal}`);
- rst.stop(nodeId, signal, opts);
+ rst.stop(nodeId, signal, opts, {forRestart: true});
log(`Restarting node ${hostName}`);
const restart = true;