diff --git a/activemq-core/src/test/java/org/apache/activemq/ActiveMQXAConnectionFactoryTest.java b/activemq-core/src/test/java/org/apache/activemq/ActiveMQXAConnectionFactoryTest.java index 902965ee89..793eba1c7c 100644 --- a/activemq-core/src/test/java/org/apache/activemq/ActiveMQXAConnectionFactoryTest.java +++ b/activemq-core/src/test/java/org/apache/activemq/ActiveMQXAConnectionFactoryTest.java @@ -336,6 +336,8 @@ public class ActiveMQXAConnectionFactoryTest extends CombinationTestSupport { connection.close(); assertTransactionGoneFromBroker(tid); + + broker.stop(); } private void assertTransactionGoneFromFailoverState(