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

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


The following commit(s) were added to refs/heads/main by this push:
     new 68c0836  DISPATCH-2033: Wait for routers to talk to each other before 
starting the tests. This closes #1185
68c0836 is described below

commit 68c08365628360ace9b9a32f02357eea3eda4adc
Author: Ganesh Murthy <gmur...@apache.org>
AuthorDate: Wed May 5 11:53:51 2021 -0400

    DISPATCH-2033: Wait for routers to talk to each other before starting the 
tests. This closes #1185
---
 tests/system_tests_qdmanage.py | 1 +
 tests/system_tests_qdstat.py   | 1 +
 2 files changed, 2 insertions(+)

diff --git a/tests/system_tests_qdmanage.py b/tests/system_tests_qdmanage.py
index 604e6ed..5bc7ac2 100644
--- a/tests/system_tests_qdmanage.py
+++ b/tests/system_tests_qdmanage.py
@@ -77,6 +77,7 @@ class QdmanageTest(TestCase):
         cls.router_2 = cls.tester.qdrouterd('test_router_2', config_2, 
wait=True)
         cls.router_1 = cls.tester.qdrouterd('test_router_1', config_1, 
wait=True)
         cls.router_1.wait_router_connected('R2')
+        cls.router_2.wait_router_connected('R1')
 
     def address(self):
         return self.router_1.addresses[0]
diff --git a/tests/system_tests_qdstat.py b/tests/system_tests_qdstat.py
index e1d49d7..d46e163 100644
--- a/tests/system_tests_qdstat.py
+++ b/tests/system_tests_qdstat.py
@@ -565,6 +565,7 @@ class QdstatLinkPriorityTest(system_test.TestCase):
         cls.router_2 = cls.tester.qdrouterd('test_router_2', config_2, 
wait=True)
         cls.router_1 = cls.tester.qdrouterd('test_router_1', config_1, 
wait=True)
         cls.router_1.wait_router_connected('R2')
+        cls.router_2.wait_router_connected('R1')
 
     def address(self):
         return self.router_1.addresses[0]

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

Reply via email to