Skip to content

Commit

Permalink
additional calls to sentry queue clear
Browse files Browse the repository at this point in the history
  • Loading branch information
taddes committed Apr 16, 2024
1 parent 6c3c882 commit f968557
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions tests/integration/test_integration_all_rust.py
Original file line number Diff line number Diff line change
Expand Up @@ -636,6 +636,7 @@ async def test_sentry_output_autoconnect(self):
SkipTest("Skipping sentry test")
return
# Ensure bad data doesn't throw errors
TestRustWebPush.clear_sentry_queue()
client = AsyncPushTestClient(self._ws_url)
await client.connect()
await client.hello()
Expand All @@ -661,7 +662,7 @@ async def test_sentry_output_autoendpoint(self):
if os.getenv("SKIP_SENTRY"):
SkipTest("Skipping sentry test")
return

TestRustWebPush.clear_sentry_queue()
client = await self.quick_register()
endpoint = self.host_endpoint(client)
await self.shut_down(client)
Expand All @@ -674,7 +675,6 @@ async def test_sentry_output_autoendpoint(self):
event1["exception"]["values"][0]["value"],
event2["exception"]["values"][0]["value"],
)
assert "ERROR:Success" in values
assert sorted(values) == ["ERROR:Success", "LogCheck"]

@max_logs(conn=4)
Expand Down

0 comments on commit f968557

Please sign in to comment.