From 807dd5c3d7bdcf6dcd009f9f0b4013986a5d71ba Mon Sep 17 00:00:00 2001 From: Taddes Date: Wed, 17 Apr 2024 15:53:41 -0400 Subject: [PATCH] alteration of timeout for queue get to resolve runtime ci flake --- tests/integration/test_integration_all_rust.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) 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