activemq-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Jiri Danek (JIRA)" <j...@apache.org>
Subject [jira] [Created] (ARTEMIS-1340) JMS test JMSQueueBrowserTest#testQueueBrowserInTxSessionLeavesOtherWorkUnaffected fails with the OpenWire protocol (activemq-client JMS library)
Date Wed, 09 Aug 2017 15:25:00 GMT
Jiri Danek created ARTEMIS-1340:
-----------------------------------

             Summary: JMS test JMSQueueBrowserTest#testQueueBrowserInTxSessionLeavesOtherWorkUnaffected
fails with the OpenWire protocol (activemq-client JMS library)
                 Key: ARTEMIS-1340
                 URL: https://issues.apache.org/jira/browse/ARTEMIS-1340
             Project: ActiveMQ Artemis
          Issue Type: Test
          Components: Broker, OpenWire
    Affects Versions: 2.3.0
            Reporter: Jiri Danek


Consider test {{org.apache.activemq.artemis.tests.integration.amqp.JMSQueueBrowserTest#testQueueBrowserInTxSessionLeavesOtherWorkUnaffected}}.
When it is modified to run with multiple JMS ConnectionFactories, then it passes with Core
and AMQP, and fails with OpenWire.

The location of fail is

{noformat}
      // Now check that all browser work did not affect the session transaction.
      assertEquals(5, queueView.getMessageCount());
{noformat}

The error is

{noformat}
java.lang.AssertionError: 
Expected :5
Actual   :10
{noformat}

I tried placing a {{Thread.sleep(5000)}} before the check; the test still failed for the same
reason, with the same error.



--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Mime
View raw message