qpid-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From gmur...@apache.org
Subject [qpid-dispatch] branch master updated: DISPATCH-1361 - Added a minor change to make sure additional sender connections are not created
Date Mon, 10 Jun 2019 18:27:16 GMT
This is an automated email from the ASF dual-hosted git repository.

gmurthy 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 54fe63c  DISPATCH-1361 - Added a minor change to make sure additional sender connections
are not created
54fe63c is described below

commit 54fe63c2b36e8a824f8d7ccd9e1d00b2eeae3879
Author: Ganesh Murthy <gmurthy@apache.org>
AuthorDate: Mon Jun 10 14:26:37 2019 -0400

    DISPATCH-1361 - Added a minor change to make sure additional sender connections are not
created
---
 tests/system_tests_fallback_dest.py | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/tests/system_tests_fallback_dest.py b/tests/system_tests_fallback_dest.py
index 2915aac..031525c 100644
--- a/tests/system_tests_fallback_dest.py
+++ b/tests/system_tests_fallback_dest.py
@@ -754,7 +754,7 @@ class ReceiverFirstAutoLinkTest(MessagingHandler):
             event.receiver.open()
 
     def on_link_opened(self, event):
-        if event.receiver == self.alt_receiver:
+        if event.receiver == self.alt_receiver and not self.sender_conn:
             self.sender_conn = event.container.connect(self.sender_host)
             self.sender      = event.container.create_sender(self.sender_conn, self.addr)
 


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


Mime
View raw message