Added more info if the test fails
This commit is contained in:
parent
661957cc65
commit
2dfea11c09
|
@ -208,7 +208,14 @@ class ReconnectTest extends BaseTest {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
assertEquals(count * initialCount, this.receivedCount.get());
|
int specified = count * initialCount;
|
||||||
|
int received = this.receivedCount.get();
|
||||||
|
|
||||||
|
if (specified != received) {
|
||||||
|
logger.error("NOTE: UDP can fail, even on loopback! See: http://www.isoc.org/INET97/proceedings/F3/F3_1.HTM");
|
||||||
|
}
|
||||||
|
|
||||||
|
assertEquals(specified, received);
|
||||||
} finally {
|
} finally {
|
||||||
stopEndPoints();
|
stopEndPoints();
|
||||||
waitForThreads(10);
|
waitForThreads(10);
|
||||||
|
|
Loading…
Reference in New Issue
Block a user