Description
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
// Now check that all browser work did not affect the session transaction. assertEquals(5, queueView.getMessageCount());
The error is
java.lang.AssertionError: Expected :5 Actual :10
I tried placing a Thread.sleep(5000) before the check; the test still failed for the same reason, with the same error.
Attachments
Issue Links
- is a child of
-
ARTEMIS-1330 [DISCUSS] Run JMS tests over many protocols (through different JMS client libraries)
- Resolved