mirror of
https://github.com/haveno-dex/haveno.git
synced 2025-09-24 06:54:46 -04:00
Comment out some debug prints in mailbox network stress test
This commit is contained in:
parent
cb14a7961b
commit
8c8fbd1947
1 changed files with 3 additions and 3 deletions
|
@ -391,7 +391,7 @@ public class NetworkStressTest {
|
||||||
}
|
}
|
||||||
assertLatch("timed out while stopping a half of the peers",
|
assertLatch("timed out while stopping a half of the peers",
|
||||||
halfShutDown, 10, TimeUnit.SECONDS);
|
halfShutDown, 10, TimeUnit.SECONDS);
|
||||||
print("stopped a half of the peers for mailbox test");
|
//print("stopped a half of the peers for mailbox test");
|
||||||
|
|
||||||
// Cycle through peers sending to others, stopping the peer
|
// Cycle through peers sending to others, stopping the peer
|
||||||
// and starting one of the stopped peers.
|
// and starting one of the stopped peers.
|
||||||
|
@ -443,7 +443,7 @@ public class NetworkStressTest {
|
||||||
onlinePeer.shutDown(stopLatch::countDown);
|
onlinePeer.shutDown(stopLatch::countDown);
|
||||||
assertLatch("timed out while stopping peer " + firstOnline,
|
assertLatch("timed out while stopping peer " + firstOnline,
|
||||||
stopLatch, 10, TimeUnit.SECONDS);
|
stopLatch, 10, TimeUnit.SECONDS);
|
||||||
print("put peer %d offline", firstOnline);
|
//print("put peer %d offline", firstOnline);
|
||||||
|
|
||||||
// When done, put first offline peer online and setup message listeners.
|
// When done, put first offline peer online and setup message listeners.
|
||||||
final CountDownLatch startLatch = new CountDownLatch(1);
|
final CountDownLatch startLatch = new CountDownLatch(1);
|
||||||
|
@ -453,7 +453,7 @@ public class NetworkStressTest {
|
||||||
startedPeer.start(new MailboxStartListener(startLatch));
|
startedPeer.start(new MailboxStartListener(startLatch));
|
||||||
assertLatch("timed out while starting peer " + firstOffline,
|
assertLatch("timed out while starting peer " + firstOffline,
|
||||||
startLatch, 10, TimeUnit.SECONDS);
|
startLatch, 10, TimeUnit.SECONDS);
|
||||||
print("put peer %d online", firstOffline);
|
//print("put peer %d online", firstOffline);
|
||||||
}
|
}
|
||||||
// TODO: Use meaningful timeout.
|
// TODO: Use meaningful timeout.
|
||||||
assertLatch("timed out while receiving mailbox messages",
|
assertLatch("timed out while receiving mailbox messages",
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue