You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@activemq.apache.org by cl...@apache.org on 2022/03/01 02:29:57 UTC

[activemq-artemis] branch main updated: NO-JIRA Fixing test assertion

This is an automated email from the ASF dual-hosted git repository.

clebertsuconic pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git


The following commit(s) were added to refs/heads/main by this push:
     new dbeda80  NO-JIRA Fixing test assertion
dbeda80 is described below

commit dbeda809e33a33671196029a175fa1cb5ebd7ebf
Author: Clebert Suconic <cl...@apache.org>
AuthorDate: Mon Feb 28 21:09:30 2022 -0500

    NO-JIRA Fixing test assertion
---
 .../apache/activemq/artemis/tests/integration/paging/PagingTest.java  | 4 +++-
 1 file changed, 3 insertions(+), 1 deletion(-)

diff --git a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/paging/PagingTest.java b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/paging/PagingTest.java
index 6e25a64..9260280 100644
--- a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/paging/PagingTest.java
+++ b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/paging/PagingTest.java
@@ -2099,7 +2099,9 @@ public class PagingTest extends ActiveMQTestBase {
          sf.close();
          locator.close();
       } finally {
-         Assert.assertTrue(AssertionLoggerHandler.findText("AMQ144010"));
+         if (storeType != StoreConfiguration.StoreType.DATABASE) {
+            Assert.assertTrue(AssertionLoggerHandler.findText("AMQ144010"));
+         }
          AssertionLoggerHandler.stopCapture();
       }
    }