mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-08-02 11:46:11 -04:00
Wait 2 seconds per peer for preliminary data and bootstrap
This commit is contained in:
parent
c4bb180dbf
commit
fa461f23e8
1 changed files with 2 additions and 2 deletions
|
@ -180,12 +180,12 @@ public class NetworkStressTest {
|
||||||
|
|
||||||
// Wait for peers to get their preliminary data.
|
// Wait for peers to get their preliminary data.
|
||||||
assertLatch("timed out while waiting for preliminary data",
|
assertLatch("timed out while waiting for preliminary data",
|
||||||
prelimDataLatch, 30, TimeUnit.SECONDS);
|
prelimDataLatch, 2 * nPeers, TimeUnit.SECONDS);
|
||||||
print("preliminary data received");
|
print("preliminary data received");
|
||||||
|
|
||||||
// Wait for peers to complete their bootstrapping.
|
// Wait for peers to complete their bootstrapping.
|
||||||
assertLatch("timed out while waiting for bootstrap",
|
assertLatch("timed out while waiting for bootstrap",
|
||||||
bootstrapLatch, 30, TimeUnit.SECONDS);
|
bootstrapLatch, 2 * nPeers, TimeUnit.SECONDS);
|
||||||
print("bootstrap complete");
|
print("bootstrap complete");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue