Skip to content

Commit

Permalink
alteration of timeout for queue get to resolve runtime ci flake
Browse files Browse the repository at this point in the history
  • Loading branch information
taddes committed Apr 17, 2024
1 parent 6c330a5 commit 807dd5c
Showing 1 changed file with 2 additions and 1 deletion.
3 changes: 2 additions & 1 deletion tests/integration/test_integration_all_rust.py
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down Expand Up @@ -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
Expand Down

0 comments on commit 807dd5c

Please sign in to comment.