diff --git a/tests/integration/test_integration_all_rust.py b/tests/integration/test_integration_all_rust.py index af0e73d81..ab99d4eb1 100644 --- a/tests/integration/test_integration_all_rust.py +++ b/tests/integration/test_integration_all_rust.py @@ -652,7 +652,7 @@ async def test_sentry_output_autoconnect(self): event1 = MOCK_SENTRY_QUEUE.get(timeout=5) # new autoconnect emits 2 events try: - MOCK_SENTRY_QUEUE.get(timeout=1) + MOCK_SENTRY_QUEUE.get(timeout=5) except Empty: pass assert event1["exception"]["values"][0]["value"] == "LogCheck" @@ -684,6 +684,7 @@ async def test_sentry_output_autoendpoint(self): # Establishing a single check for "LogCheck" as sufficent guarantee, # since Sentry is capturing emission assert "LogCheck" in values + assert sorted(values) == ["ERROR:Success", "LogCheck"] @pytest.mark.order(1) @pytest.mark.asyncio