You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by ch...@apache.org on 2020/01/29 20:57:54 UTC

[qpid-dispatch] branch master updated: DISPATCH-1559: Wait for on_sender to abort in progress stream

This is an automated email from the ASF dual-hosted git repository.

chug pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/qpid-dispatch.git


The following commit(s) were added to refs/heads/master by this push:
     new a8d8cd0  DISPATCH-1559: Wait for on_sender to abort in progress stream
a8d8cd0 is described below

commit a8d8cd021eba7f2e5467b54de549e20941b826c7
Author: Chuck Rolke <ch...@apache.org>
AuthorDate: Wed Jan 29 15:55:12 2020 -0500

    DISPATCH-1559: Wait for on_sender to abort in progress stream
    
    Don't overwrite current delivery with next programmed operation in send().
---
 tests/system_tests_delivery_abort.py | 3 +++
 1 file changed, 3 insertions(+)

diff --git a/tests/system_tests_delivery_abort.py b/tests/system_tests_delivery_abort.py
index 2ff87ca..752950f 100644
--- a/tests/system_tests_delivery_abort.py
+++ b/tests/system_tests_delivery_abort.py
@@ -425,6 +425,9 @@ class MessageRouteAbortTest(MessagingHandler):
         self.receiver      = event.container.create_receiver(self.receiver_conn, self.address)
 
     def send(self):
+        if self.delivery:
+            return
+
         op, size = self.program.pop(0) if len(self.program) > 0 else (None, None)
 
         if op == None:


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