Skip to content

Commit

Permalink
fixup: wait for routers to exit
Browse files Browse the repository at this point in the history
  • Loading branch information
kgiusti committed Aug 13, 2024
1 parent 3365bc0 commit fe6dbf8
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions tests/system_tests_ssl.py
Original file line number Diff line number Diff line change
Expand Up @@ -711,9 +711,18 @@ def test_invalid_cert_paths(self):
if not SASL.extended():
self.skipTest("Cyrus library not available. skipping test")

self.routers[0].wait_log_message(r"\(critical\) Router start-up failed:")
self.routers[0].wait_log_message("Failed to configure SSL certFile")
self.routers[1].wait_log_message(r"\(critical\) Router start-up failed:")
self.routers[1].wait_log_message("Failed to configure SSL caCertFile")

# race fix: on slow CI systems the test will exit before the routers
# have cleanly shutdown - this will cause the test to fail. Manually
# wait for the router processes to compile (raise Timeout error if they
# do not)
self.routers[0].wait(TIMEOUT);
self.routers[1].wait(TIMEOUT);


class RouterTestSslInterRouterWithoutHostnameVerificationAndMismatchedCA(RouterTestSslBase):
"""
Expand Down

0 comments on commit fe6dbf8

Please sign in to comment.