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 f17a56a  PROTON-2524 Add additional script validation step and close 
stream
f17a56a is described below

commit f17a56aaa2fded1698dfd390a79b5b7a9fbdf1cb
Author: Timothy Bish <[email protected]>
AuthorDate: Mon Mar 28 14:40:17 2022 -0400

    PROTON-2524 Add additional script validation step and close stream
---
 .../java/org/apache/qpid/protonj2/client/impl/StreamReceiverTest.java  | 3 +++
 1 file changed, 3 insertions(+)

diff --git 
a/protonj2-client/src/test/java/org/apache/qpid/protonj2/client/impl/StreamReceiverTest.java
 
b/protonj2-client/src/test/java/org/apache/qpid/protonj2/client/impl/StreamReceiverTest.java
index b4a886a..d70ec7c 100644
--- 
a/protonj2-client/src/test/java/org/apache/qpid/protonj2/client/impl/StreamReceiverTest.java
+++ 
b/protonj2-client/src/test/java/org/apache/qpid/protonj2/client/impl/StreamReceiverTest.java
@@ -2131,6 +2131,9 @@ class StreamReceiverTest extends ImperativeClientTestCase 
{
             assertEquals(-1, bodyStream.read());
             assertNull(message.footer());
 
+            bodyStream.close();
+
+            peer.waitForScriptToComplete();
             peer.expectDetach().respond();
             peer.expectEnd().respond();
             peer.expectClose().respond();

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

Reply via email to