mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-07-05 20:15:39 -04:00
Wait longer for direct receive in network stress test
Using the new executor made thing a little slower.
This commit is contained in:
parent
84035ae658
commit
ac3dbe9160
1 changed files with 1 additions and 1 deletions
|
@ -310,7 +310,7 @@ public class NetworkStressTest {
|
|||
final long idealMaxDirectDelay = MAX_DIRECT_DELAY_MILLIS * directCount;
|
||||
// Wait for peers to complete receiving. We are generous here.
|
||||
assertLatch("timed out while receiving direct messages",
|
||||
receivedDirectLatch, 10 * idealMaxDirectDelay, TimeUnit.MILLISECONDS);
|
||||
receivedDirectLatch, 25 * idealMaxDirectDelay, TimeUnit.MILLISECONDS);
|
||||
final long recvMillis = System.currentTimeMillis() - sendStartMillis;
|
||||
print("receiving %d direct messages per peer took %ss (%.2f x ideal max)",
|
||||
directCount, recvMillis / 1000.0, recvMillis / (float) idealMaxDirectDelay);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue