Wait a little more for node bootstrap in network stress test

This commit is contained in:
Ivan Vilata-i-Balaguer 2016-05-18 10:16:36 +02:00
parent 976d9cb333
commit 1a5960124c

View File

@ -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");
}