diff --git a/tests/integration/test_integration_all_rust.py b/tests/integration/test_integration_all_rust.py index ab99d4eb1..b123a5916 100644 --- a/tests/integration/test_integration_all_rust.py +++ b/tests/integration/test_integration_all_rust.py @@ -650,6 +650,12 @@ async def test_sentry_output_autoconnect(self): await httpx_client.get(f"http://localhost:{CONNECTION_PORT}/v1/err/crit", timeout=30) event1 = MOCK_SENTRY_QUEUE.get(timeout=5) + # NOTE: this timeout increased to 5 seconds as was yielding + # errors in CI due to potential race condition and lingering + # artifact in the MOCK_SENTRY_QUEUE. It could cause test_sentry_output_autoendpoint + # to have two LogCheck entires and test_no_sentry_output would have data + # when it should not. + # new autoconnect emits 2 events try: MOCK_SENTRY_QUEUE.get(timeout=5)