mirror of
https://github.com/bisq-network/bisq.git
synced 2024-11-20 02:12:00 +01: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
@ -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…
Reference in New Issue
Block a user