clebertsuconic commented on code in PR #6301:
URL: https://github.com/apache/artemis/pull/6301#discussion_r2961559006
##########
tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/connect/BrokerInSyncTest.java:
##########
@@ -265,18 +266,89 @@ public void testSingleMessage(String protocol) throws
Exception {
session1.commit();
}
- try {
- connection1.close();
- } catch (Exception ignored) {
+ connection1.close();
+ connection2.close();
+
+ Wait.assertEquals(0L, queueOnServer1::getMessageCount, 5000, 100);
+ Wait.assertEquals(0L, queueOnServer2::getMessageCount, 5000, 100);
+
+ server_2.stop();
+ server.stop();
+ }
+
+ @Test
+ public void testNoTemporaryQueues() throws Exception {
Review Comment:
I don't think it matters on this case... it's a temporary queue from the
internal POV. but I will add the test
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]