Added appropriate note on reconnect test (where it sometimes fails with UDP) that it can fail with UDP because it's unreliable - even on loopback

This commit is contained in:
nathan 2019-01-09 23:09:24 +01:00
parent c609bb7328
commit 515ee83de4

View File

@ -152,7 +152,10 @@ class ReconnectTest extends BaseTest {
synchronized (receivedCount) {
while (this.receivedCount.get() != target) {
if (waitingRetryCount-- < 0) {
System.out.println("Aborting unit test... wrong count!");
System.err.println("Aborting unit test... wrong count!");
if (useUDP) {
System.err.println("NOTE: UDP can fail, even on loopback!");
}
stopEndPoints();
assertEquals(target, this.receivedCount.get());
}