diff options
author | matt dannenberg <matt.dannenberg@10gen.com> | 2014-07-31 11:40:56 -0400 |
---|---|---|
committer | matt dannenberg <matt.dannenberg@10gen.com> | 2014-07-31 12:52:42 -0400 |
commit | 9ec7d68a97dc54f534e95959e62cafcab38bd440 (patch) | |
tree | 7d9a36215dd8d9d45aa294c9b3e3805847141084 /jstests/replsets/sync2.js | |
parent | 7e6b8c83f87bfb8306b3ab3fe15dd3fa451fc1e9 (diff) | |
download | mongo-9ec7d68a97dc54f534e95959e62cafcab38bd440.tar.gz |
SERVER-14755 increase ReplSetTest timeouts to prevent spurious failures while using HybridCoordinator
Diffstat (limited to 'jstests/replsets/sync2.js')
-rw-r--r-- | jstests/replsets/sync2.js | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/jstests/replsets/sync2.js b/jstests/replsets/sync2.js index 5969663681a..4688d86cd43 100644 --- a/jstests/replsets/sync2.js +++ b/jstests/replsets/sync2.js @@ -30,14 +30,14 @@ replTest.partition(4,1); replTest.partition(4,3); jsTestLog("Checking that ops still replicate correctly"); -var option = { writeConcern: { w: 5, wtimeout: 30000 }}; +var option = { writeConcern: { w: 5, wtimeout: 60000 }}; assert.writeOK(master.getDB("foo").bar.insert({ x: 1 }, option)); // 4 is connected to 3 replTest.partition(4,2); replTest.unPartition(4,3); -option = { writeConcern: { w: 5, wtimeout: 30000 }}; +option = { writeConcern: { w: 5, wtimeout: 60000 }}; assert.writeOK(master.getDB("foo").bar.insert({ x: 1 }, option)); replTest.stopSet(); |