This is an automated email from the ASF dual-hosted git repository.
tabish pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/activemq-artemis.git
The following commit(s) were added to refs/heads/main by this push:
new 9f4445b31a NO-JIRA Minor tweak to stabilize test
9f4445b31a is described below
commit 9f4445b31a1ce9f15dffcb5b71dc4dbd3230ca1b
Author: Timothy Bish <[email protected]>
AuthorDate: Fri Aug 1 16:33:22 2025 -0400
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
---
.../tests/integration/amqp/connect/AMQPBridgeManagementTest.java | 2 ++
1 file changed, 2 insertions(+)
diff --git
a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/connect/AMQPBridgeManagementTest.java
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/connect/AMQPBridgeManagementTest.java
index e8da987e48..168a38acd6 100644
---
a/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/connect/AMQPBridgeManagementTest.java
+++
b/tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/connect/AMQPBridgeManagementTest.java
@@ -1327,6 +1327,8 @@ public class AMQPBridgeManagementTest extends
AmqpClientTestSupport {
Wait.assertTrue(() ->
server.getManagementService().getResource(producerResourceName) != null, 5_000,
100);
peer.waitForScriptToComplete(5, TimeUnit.SECONDS);
+ peer.expectDetach().optional();
+ peer.expectClose().optional();
peer.expectConnectionToDrop();
brokerConnection.stop();
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]
For further information, visit: https://activemq.apache.org/contact