Skip to content

Commit 9f4445b

Browse files
committed
NO-JIRA Minor tweak to stabilize test
Account for detach and close frames that may or may not hit the wire on close of the broker connection in the test
1 parent dca2067 commit 9f4445b

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/connect/AMQPBridgeManagementTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1327,6 +1327,8 @@ public void testBridgeRemovesAddressProducerManagementWhenBrokerConnectionStoppe
13271327
Wait.assertTrue(() -> server.getManagementService().getResource(producerResourceName) != null, 5_000, 100);
13281328

13291329
peer.waitForScriptToComplete(5, TimeUnit.SECONDS);
1330+
peer.expectDetach().optional();
1331+
peer.expectClose().optional();
13301332
peer.expectConnectionToDrop();
13311333

13321334
brokerConnection.stop();

0 commit comments

Comments
 (0)