summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMathias Stearn <mathias@10gen.com>2015-03-16 11:06:24 -0400
committerMathias Stearn <mathias@10gen.com>2015-03-16 13:06:19 -0400
commite89ad4970c81ce122867e6af70d09cd164052022 (patch)
treeb1b975b8a74b67385c5d054ae7d16be7ad74af27
parentd7563a168a8862e5c50f32829d17b628305a93ad (diff)
downloadmongo-e89ad4970c81ce122867e6af70d09cd164052022.tar.gz
SERVER-17487 Raise other timeouts in initial_sync_cloner_dups.js
-rw-r--r--jstests/noPassthrough/initial_sync_cloner_dups.js4
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/noPassthrough/initial_sync_cloner_dups.js b/jstests/noPassthrough/initial_sync_cloner_dups.js
index 13443953ad5..b1d53bb6871 100644
--- a/jstests/noPassthrough/initial_sync_cloner_dups.js
+++ b/jstests/noPassthrough/initial_sync_cloner_dups.js
@@ -70,7 +70,7 @@ worker.start();
jsTestLog("add a new secondary");
var secondary = replTest.add({});
-replTest.reInitiate();
+replTest.reInitiate(4*60*1000);
secondary.setSlaveOk();
// NOTE: This is here to prevent false negatives, but it is racy and dependent on magic numbers.
@@ -87,7 +87,7 @@ if (!droppedDups) {
jsTestLog("stoping writes and waiting for replica set to coalesce")
primary.getDB('test').stop.insert({});
worker.join();
-replTest.awaitReplication(); // Make sure all writes have hit secondary.
+replTest.awaitReplication(2*60*1000); // Make sure all writes have hit secondary.
jsTestLog("check that secondary has correct counts");
var secondaryColl = secondary.getDB('test').getCollection('cloner');