summaryrefslogtreecommitdiff
path: root/jstests/replsets/stepdown3.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/stepdown3.js')
-rw-r--r--jstests/replsets/stepdown3.js4
1 files changed, 1 insertions, 3 deletions
diff --git a/jstests/replsets/stepdown3.js b/jstests/replsets/stepdown3.js
index d0da019f7a1..968877a2069 100644
--- a/jstests/replsets/stepdown3.js
+++ b/jstests/replsets/stepdown3.js
@@ -19,9 +19,7 @@
// do another write, because the first one might be longer than 10 seconds ago
// on the secondary (due to starting up), and we need to be within 10 seconds
// to step down.
- var options = {
- writeConcern: {w: 2, wtimeout: 30000}
- };
+ var options = {writeConcern: {w: 2, wtimeout: 30000}};
assert.writeOK(master.getDB("test").foo.insert({x: 2}, options));
// lock secondary, to pause replication
print("\nlock secondary");