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)

Reply via email to