Added extra debug info

This commit is contained in:
Robinson 2023-10-24 13:46:28 +02:00
parent 044ce8771f
commit 60a26202b4
No known key found for this signature in database
GPG Key ID: 8E7DB78588BD6F5C
1 changed files with 6 additions and 2 deletions

View File

@ -176,7 +176,11 @@ abstract class BaseTest {
init {
setLogLevel(Level.TRACE)
logger.error("---- " + this.javaClass.simpleName)
if (DEBUG) {
logger.error("---- " + this.javaClass.simpleName + " :: DEBUG UNIT TESTS ENABLED")
} else {
logger.error("---- " + this.javaClass.simpleName)
}
AeronDriver.checkForMemoryLeaks()
}
@ -295,7 +299,7 @@ abstract class BaseTest {
// run actions before we actually shutdown, but after we wait
if (!successClients || !successServers) {
Assert.fail("Shutdown latch not triggered!")
Assert.fail("Shutdown latch not triggered ($successClients|$successServers)!")
}
// we must always make sure that aeron is shut-down before starting again.