summaryrefslogtreecommitdiff
path: root/jstests/sharding/min_optime_recovery.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/sharding/min_optime_recovery.js')
-rw-r--r--jstests/sharding/min_optime_recovery.js10
1 files changed, 4 insertions, 6 deletions
diff --git a/jstests/sharding/min_optime_recovery.js b/jstests/sharding/min_optime_recovery.js
index d77f1e2ad42..69ccc78f02c 100644
--- a/jstests/sharding/min_optime_recovery.js
+++ b/jstests/sharding/min_optime_recovery.js
@@ -47,12 +47,10 @@
assert.eq(null, doc);
}
- var restartCmdLineOptions = Object.merge(
- st.d0.fullOptions,
- {
- setParameter: 'recoverShardingState=' + (withRecovery ? 'true' : 'false'),
- restart: true
- });
+ var restartCmdLineOptions = Object.merge(st.d0.fullOptions, {
+ setParameter: 'recoverShardingState=' + (withRecovery ? 'true' : 'false'),
+ restart: true
+ });
// Restart the shard that donated a chunk to trigger the optime recovery logic.
st.stopMongod(0);