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 b7952e8d PROTON-2899 Add fix for test that was showing instability in 
CI
b7952e8d is described below

commit b7952e8d57b235aad0a329b0aa007d38c1baf53f
Author: Timothy Bish <[email protected]>
AuthorDate: Tue Jul 22 16:06:34 2025 -0400

    PROTON-2899 Add fix for test that was showing instability in CI
---
 .../java/org/apache/qpid/protonj2/test/driver/ProtonTestClientTest.java | 2 ++
 1 file changed, 2 insertions(+)

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 95192f44..49020930 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
@@ -84,6 +84,8 @@ class ProtonTestClientTest extends TestPeerTestsBase {
                 client.waitForScriptToComplete(5, TimeUnit.SECONDS);
             }
 
+            Wait.assertFalse(() -> peer.hasClientConnection());
+
             try (ProtonTestClient client = new ProtonTestClient()) {
                 client.connect(remoteURI.getHost(), remoteURI.getPort());
                 client.expectAMQPHeader();


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to