ARTEMIS-4173 Looking for full log code on assertions over logHandler.findTest
This commit is contained in:
parent
0c47c90911
commit
65df4cfade
|
@ -59,7 +59,7 @@ public class ActiveMQServerStartupTest extends ServerTestBase {
|
|||
// this will be faking a condition
|
||||
server.setState(ActiveMQServer.SERVER_STATE.STARTING);
|
||||
CriticalAnalyzerAccessor.fireActions(server.getCriticalAnalyzer(), new CriticalComponentImpl(server.getCriticalAnalyzer(), 2));
|
||||
assertTrue(loggerHandler.findText("224116"));
|
||||
assertTrue(loggerHandler.findText("AMQ224116"));
|
||||
assertEquals(ActiveMQServer.SERVER_STATE.STARTING, server.getState()); // should not be changed
|
||||
server.stop();
|
||||
}
|
||||
|
|
|
@ -96,8 +96,8 @@ public class JournalPagingTest extends ActiveMQTestBase {
|
|||
if (loggerHandler != null) {
|
||||
try {
|
||||
// These are the message errors for the negative size address size
|
||||
assertFalse(loggerHandler.findText("222214"));
|
||||
assertFalse(loggerHandler.findText("222215"));
|
||||
assertFalse(loggerHandler.findText("AMQ222214"));
|
||||
assertFalse(loggerHandler.findText("AMQ222215"));
|
||||
} finally {
|
||||
loggerHandler.close();
|
||||
}
|
||||
|
|
|
@ -73,8 +73,8 @@ public class PageCountSyncOnNonTXTest extends SpawnedTestBase {
|
|||
if (loggerHandler != null) {
|
||||
try {
|
||||
// These are the message errors for the negative size address size
|
||||
assertFalse(loggerHandler.findText("222214"));
|
||||
assertFalse(loggerHandler.findText("222215"));
|
||||
assertFalse(loggerHandler.findText("AMQ222214"));
|
||||
assertFalse(loggerHandler.findText("AMQ222215"));
|
||||
} finally {
|
||||
loggerHandler.close();
|
||||
}
|
||||
|
|
|
@ -85,8 +85,8 @@ public class PagingCounterTest extends ActiveMQTestBase {
|
|||
if (loggerHandler != null) {
|
||||
try {
|
||||
// These are the message errors for the negative size address size
|
||||
assertFalse(loggerHandler.findText("222214"));
|
||||
assertFalse(loggerHandler.findText("222215"));
|
||||
assertFalse(loggerHandler.findText("AMQ222214"));
|
||||
assertFalse(loggerHandler.findText("AMQ222215"));
|
||||
} finally {
|
||||
loggerHandler.close();
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue