summaryrefslogtreecommitdiff
path: root/jstests/replsets/clean_shutdown_oplog_state.js
diff options
context:
space:
mode:
Diffstat (limited to 'jstests/replsets/clean_shutdown_oplog_state.js')
-rw-r--r--jstests/replsets/clean_shutdown_oplog_state.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/replsets/clean_shutdown_oplog_state.js b/jstests/replsets/clean_shutdown_oplog_state.js
index ee31bd2c281..effa8469d7b 100644
--- a/jstests/replsets/clean_shutdown_oplog_state.js
+++ b/jstests/replsets/clean_shutdown_oplog_state.js
@@ -32,8 +32,8 @@
// Start a w:2 write that will block until replication is resumed.
var waitForReplStart = startParallelShell(function() {
- printjson(assert.writeOK(
- db.getCollection('side').insert({}, {writeConcern: {w: 2, wtimeout: 30 * 60 * 1000}})));
+ printjson(assert.writeOK(db.getCollection('side').insert(
+ {}, {writeConcern: {w: 2, wtimeout: ReplSetTest.kDefaultTimeoutMS}})));
}, primary.host.split(':')[1]);
// Insert a lot of data in increasing order to test.coll.