You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@qpid.apache.org by gm...@apache.org on 2019/06/10 18:27:16 UTC

[qpid-dispatch] branch master updated: DISPATCH-1361 - Added a minor change to make sure additional sender connections are not created

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 <gm...@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