gemmellr commented on code in PR #4656:
URL: https://github.com/apache/activemq-artemis/pull/4656#discussion_r1388233588


##########
tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/connect/AMQPFederationConnectTest.java:
##########
@@ -219,6 +219,7 @@ public void 
testFederationCreatesControlLinkAndClosesConnectionDetachIndicatesNo
                                        .withNullTarget();
          peer.remoteDetach().withErrorCondition("amqp:unauthorized-access", 
"Not authroized").queue();
          peer.expectDetach().optional();
+         peer.expectClose().optional();

Review Comment:
   ah, I've totally misread it somehow...I was replying thinking it was just 
making it optional, but it [clearly?!] wasnt there before. Ok, fair enough, it 
was busted originally and is now intermittently less busted.



##########
tests/integration-tests/src/test/java/org/apache/activemq/artemis/tests/integration/amqp/connect/AMQPFederationQueuePolicyTest.java:
##########
@@ -937,6 +937,7 @@ public void 
testUnhandledRemoteReceiverCloseConditionCausesConnectionRebuild() t
             peer.waitForScriptToComplete(5, TimeUnit.SECONDS);
 
             peer.expectDetach().optional(); // Broker is not consistent on 
sending the detach
+            peer.expectClose().optional();

Review Comment:
   Ditto



-- 
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]

Reply via email to