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/07/08 18:23:48 UTC
[qpid-dispatch] branch master updated: DISPATCH-1684: Test should
open fallback receiver on fallback connection
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 12334ed DISPATCH-1684: Test should open fallback receiver on fallback connection
12334ed is described below
commit 12334ed01167954457152a0f536d8c7033ac77ec
Author: Chuck Rolke <ch...@apache.org>
AuthorDate: Wed Jul 8 14:23:00 2020 -0400
DISPATCH-1684: Test should open fallback receiver on fallback connection
Fallback_dest test class SwitchoverTest mistakenly opens the fallback
receiver on the primary connection.
This closes #772
---
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 7ab5004..2ad52a4 100644
--- a/tests/system_tests_fallback_dest.py
+++ b/tests/system_tests_fallback_dest.py
@@ -588,7 +588,7 @@ class SwitchoverTest(MessagingHandler):
self.primary_conn = event.container.connect(self.primary_host)
self.fallback_conn = event.container.connect(self.fallback_host)
self.primary_receiver = event.container.create_receiver(self.primary_conn, self.addr)
- self.fallback_receiver = event.container.create_receiver(self.primary_conn, self.addr, name=self.addr)
+ self.fallback_receiver = event.container.create_receiver(self.fallback_conn, self.addr, name=self.addr)
self.fallback_receiver.source.capabilities.put_object(symbol("qd.fallback"))
def on_link_opened(self, event):
---------------------------------------------------------------------
To unsubscribe, e-mail: commits-unsubscribe@qpid.apache.org
For additional commands, e-mail: commits-help@qpid.apache.org