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/qpid-protonj2.git


The following commit(s) were added to refs/heads/main by this push:
     new 47104813 PROTON-2749 Fix intermittent failures due to missing 
expectation
47104813 is described below

commit 4710481357e76eea7103686c766189ccc4245572
Author: Timothy Bish <tabish...@gmail.com>
AuthorDate: Mon Jul 24 18:41:18 2023 -0400

    PROTON-2749 Fix intermittent failures due to missing expectation
    
    Frame can arrive before connection is closed.
---
 .../java/org/apache/qpid/protonj2/test/driver/ProtonTestClientTest.java  | 1 +
 1 file changed, 1 insertion(+)

diff --git 
a/protonj2-test-driver/src/test/java/org/apache/qpid/protonj2/test/driver/ProtonTestClientTest.java
 
b/protonj2-test-driver/src/test/java/org/apache/qpid/protonj2/test/driver/ProtonTestClientTest.java
index cdefff5f..be86733d 100644
--- 
a/protonj2-test-driver/src/test/java/org/apache/qpid/protonj2/test/driver/ProtonTestClientTest.java
+++ 
b/protonj2-test-driver/src/test/java/org/apache/qpid/protonj2/test/driver/ProtonTestClientTest.java
@@ -330,6 +330,7 @@ class ProtonTestClientTest extends TestPeerTestsBase {
             client.remoteSaslInit().withMechanism("ANONYMOUS").queue();
             client.expectSaslOutcome().withCode(SaslCode.OK);
             client.remoteAMQPHeader().queue();
+            client.expectAMQPHeader();
             client.connect(remoteURI.getHost(), remoteURI.getPort());
 
             client.waitForScriptToComplete(5, TimeUnit.SECONDS);


---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscr...@qpid.apache.org
For additional commands, e-mail: commits-h...@qpid.apache.org

Reply via email to