Report failed mailbox messages in network stress test

This commit is contained in:
Ivan Vilata-i-Balaguer 2016-05-18 10:19:14 +02:00
parent 1a5960124c
commit ea35ace8db

View File

@ -451,6 +451,7 @@ public class NetworkStressTest {
// TODO: Use meaningful timeout.
assertLatch("timed out while receiving mailbox messages",
receivedMailboxLatch, 120, TimeUnit.SECONDS);
org.junit.Assert.assertFalse("some peer(s) failed to send a message", sentMailboxFailed.get());
}
/** Configure the peer to decrease the latch on receipt of mailbox message (direct or via mailbox). */