Skip to content

Commit cf64a5e

Browse files
authored
DISPATCH-2022 In a test, do not fail to wait for router to fail before reporting the router failed to fail (#1134)
1 parent b919a63 commit cf64a5e

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

tests/system_tests_link_routes.py

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1996,7 +1996,8 @@ def test_config_file_bad(self):
19961996

19971997
cfg = Qdrouterd.Config(config)
19981998
# we expect the router to fail
1999-
router = self.tester.qdrouterd("X", cfg, wait=False, expect=Process.EXIT_FAIL)
1999+
router = self.tester.qdrouterd("X", cfg, wait=False, expect=Process.EXIT_FAIL) # type: Qdrouterd
2000+
self.assertEqual(router.wait(TIMEOUT), Process.EXIT_FAIL)
20002001

20012002
def test_mgmt(self):
20022003
# test create, delete, and query

0 commit comments

Comments
 (0)