NO-JIRA Fixing test assertion

This commit is contained in:
Clebert Suconic 2022-02-28 21:09:30 -05:00 committed by clebertsuconic
parent 263351b331
commit dbeda809e3
1 changed files with 3 additions and 1 deletions

View File

@ -2099,7 +2099,9 @@ public class PagingTest extends ActiveMQTestBase {
sf.close(); sf.close();
locator.close(); locator.close();
} finally { } finally {
Assert.assertTrue(AssertionLoggerHandler.findText("AMQ144010")); if (storeType != StoreConfiguration.StoreType.DATABASE) {
Assert.assertTrue(AssertionLoggerHandler.findText("AMQ144010"));
}
AssertionLoggerHandler.stopCapture(); AssertionLoggerHandler.stopCapture();
} }
} }