[
https://issues.apache.org/jira/browse/ARTEMIS-1340?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Justin Bertram resolved ARTEMIS-1340.
-------------------------------------
Resolution: Won't Fix
> 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 Daněk
> Priority: Major
>
> 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
(v8.20.10#820010)