mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-04-21 08:06:33 -04:00
Remove computation delay from ideal max delay of mailbox stress test
This commit is contained in:
parent
47af7fca70
commit
43fa580e8d
@ -649,8 +649,8 @@ public class NetworkStressTest {
|
||||
TimeUnit.SECONDS);
|
||||
//print("put peer %d online", firstOffline);
|
||||
}
|
||||
/** Time to transmit all messages with the estimated per-message delay, with 1 second computation delay. */
|
||||
final long idealMaxMailboxDelay = 2 * (MAILBOX_DELAY_SECS + 1) * 1000 * nPeers * mailboxCount;
|
||||
/** Time to transmit all messages with the estimated per-message delay, with no computation delays. */
|
||||
final long idealMaxMailboxDelay = 2 * MAILBOX_DELAY_SECS * 1000 * nPeers * mailboxCount;
|
||||
assertLatch("timed out while receiving mailbox messages",
|
||||
receivedMailboxLatch, idealMaxMailboxDelay, TimeUnit.MILLISECONDS);
|
||||
final long recvMillis = System.currentTimeMillis() - sendStartMillis;
|
||||
|
Loading…
x
Reference in New Issue
Block a user