summaryrefslogtreecommitdiff
path: root/jstests/replsets/stepdown_needs_majority.js
diff options
context:
space:
mode:
authorEddie Louie <eddie.louie@mongodb.com>2017-03-28 13:42:11 -0400
committerEddie Louie <eddie.louie@mongodb.com>2017-04-05 18:40:37 -0400
commit2569b254a53586f1177b82bdc567463e84be75e2 (patch)
tree860eefcb637783cf310256bdabe5b9bda2fa89f3 /jstests/replsets/stepdown_needs_majority.js
parent2d00414fa0f31473f5fa7c1ad3c728051871ec4e (diff)
downloadmongo-2569b254a53586f1177b82bdc567463e84be75e2.tar.gz
SERVER-23728 Enable the no-unused-expressions ESLint rule
Diffstat (limited to 'jstests/replsets/stepdown_needs_majority.js')
-rw-r--r--jstests/replsets/stepdown_needs_majority.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/replsets/stepdown_needs_majority.js b/jstests/replsets/stepdown_needs_majority.js
index 7fe0e41dc19..080dd241338 100644
--- a/jstests/replsets/stepdown_needs_majority.js
+++ b/jstests/replsets/stepdown_needs_majority.js
@@ -16,12 +16,12 @@
*
*/
(function() {
+ 'use strict';
+
load("jstests/libs/write_concern_util.js"); // for stopReplicationOnSecondaries, //
// restartServerReplication,
// restartReplSetReplication
- 'use strict';
-
function assertStepDownFailsWithExceededTimeLimit(node) {
assert.commandFailedWithCode(
node.getDB("admin").runCommand({replSetStepDown: 5, secondaryCatchUpPeriodSecs: 5}),