From 1a5960124c9e20b36cb4bcd99d6119c1df3f1714 Mon Sep 17 00:00:00 2001 From: Ivan Vilata-i-Balaguer Date: Wed, 18 May 2016 10:16:36 +0200 Subject: [PATCH] Wait a little more for node bootstrap in network stress test --- .../test/java/io/bitsquare/p2p/network/NetworkStressTest.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/network/src/test/java/io/bitsquare/p2p/network/NetworkStressTest.java b/network/src/test/java/io/bitsquare/p2p/network/NetworkStressTest.java index e73a9a7b37..e2583ce162 100644 --- a/network/src/test/java/io/bitsquare/p2p/network/NetworkStressTest.java +++ b/network/src/test/java/io/bitsquare/p2p/network/NetworkStressTest.java @@ -218,12 +218,12 @@ public class NetworkStressTest { // Wait for peers to get their preliminary data. assertLatch("timed out while waiting for preliminary data", - prelimDataLatch, 2 * nPeers, TimeUnit.SECONDS); + prelimDataLatch, 5 * nPeers, TimeUnit.SECONDS); print("preliminary data received"); // Wait for peers to complete their bootstrapping. assertLatch("timed out while waiting for bootstrap", - bootstrapLatch, 2 * nPeers, TimeUnit.SECONDS); + bootstrapLatch, 5 * nPeers, TimeUnit.SECONDS); print("bootstrap complete"); }