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

jdanek 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 cf64a5e  DISPATCH-2022 In a test, do not fail to wait for router to 
fail before reporting the router failed to fail (#1134)
cf64a5e is described below

commit cf64a5ecc92920bd506340331e61aff65e3e0ca6
Author: Jiri Daněk <jda...@redhat.com>
AuthorDate: Tue Apr 20 16:55:02 2021 +0200

    DISPATCH-2022 In a test, do not fail to wait for router to fail before 
reporting the router failed to fail (#1134)
---
 tests/system_tests_link_routes.py | 3 ++-
 1 file changed, 2 insertions(+), 1 deletion(-)

diff --git a/tests/system_tests_link_routes.py 
b/tests/system_tests_link_routes.py
index 2edc509..f32fb38 100644
--- a/tests/system_tests_link_routes.py
+++ b/tests/system_tests_link_routes.py
@@ -1996,7 +1996,8 @@ class ConnectionLinkRouteTest(TestCase):
 
         cfg = Qdrouterd.Config(config)
         # we expect the router to fail
-        router = self.tester.qdrouterd("X", cfg, wait=False, 
expect=Process.EXIT_FAIL)
+        router = self.tester.qdrouterd("X", cfg, wait=False, 
expect=Process.EXIT_FAIL)  # type: Qdrouterd
+        self.assertEqual(router.wait(TIMEOUT), Process.EXIT_FAIL)
 
     def test_mgmt(self):
         # test create, delete, and query

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

Reply via email to