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/07/10 20:39:02 UTC

[qpid-protonj2] branch main updated: PROTON-2749 Fix scripted SASL plain queue connect script 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 243bc8a9 PROTON-2749 Fix scripted SASL plain queue connect script API
243bc8a9 is described below

commit 243bc8a928e27fa9be98deb44735e9ba4d79fe1f
Author: Timothy Bish <ta...@gmail.com>
AuthorDate: Mon Jul 10 16:38:54 2023 -0400

    PROTON-2749 Fix scripted SASL plain queue connect script API
    
    Add expectation for an AMQP 1.0 header following the SASL exchange.
---
 .../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 62ac6899..494fd08d 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
@@ -608,6 +608,7 @@ public abstract class ScriptWriter {
         remoteSaslInit().withMechanism("PLAIN").withInitialResponse(saslPlainInitialResponse(username, password)).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