You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ta...@apache.org on 2023/04/18 20:20:31 UTC

[qpid-protonj2] branch main updated: PROTON-2711 Add missing header expectation to test script utility API

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 f1525208 PROTON-2711 Add missing header expectation to test script utility API
f1525208 is described below

commit f1525208ee5ee4b571adebc1a60ca440ceaccc14
Author: Timothy Bish <ta...@gmail.com>
AuthorDate: Tue Apr 18 16:15:56 2023 -0400

    PROTON-2711 Add missing header expectation to test script utility API
    
    Fixes intermittent failure in CI when the header arrived before the
    connection closed in new tests.
---
 .../src/main/java/org/apache/qpid/protonj2/test/driver/ScriptWriter.java | 1 +
 1 file changed, 1 insertion(+)

diff --git a/protonj2-test-driver/src/main/java/org/apache/qpid/protonj2/test/driver/ScriptWriter.java b/protonj2-test-driver/src/main/java/org/apache/qpid/protonj2/test/driver/ScriptWriter.java
index ea52b321..38cddeae 100644
--- a/protonj2-test-driver/src/main/java/org/apache/qpid/protonj2/test/driver/ScriptWriter.java
+++ b/protonj2-test-driver/src/main/java/org/apache/qpid/protonj2/test/driver/ScriptWriter.java
@@ -563,6 +563,7 @@ public abstract class ScriptWriter {
         remoteSaslInit().withMechanism("ANONYMOUS").queue();
         expectSaslOutcome().withCode(SaslCode.OK);
         remoteAMQPHeader().queue();
+        expectAMQPHeader();
     }
 
     /**


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