diff --git a/test/end2end/session/test_fallback_v1.py b/test/end2end/session/test_fallback_v1.py index 96fc9d974529..18a43e37bb0d 100644 --- a/test/end2end/session/test_fallback_v1.py +++ b/test/end2end/session/test_fallback_v1.py @@ -33,8 +33,7 @@ def wait_for_n_messages(n): while len(messages) < n: sleep(0.1) if time.time() - t > 10: - print("taking too long! aborting wait, let tests fails") - break + raise RuntimeError("did not get the number of expected messages under 10 seconds") self.core.bus.on("message", new_msg)