From 6d6e4b716709eb2bc4f8e957eee98ed7b560ded3 Mon Sep 17 00:00:00 2001 From: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com> Date: Sun, 15 Nov 2026 02:29:06 +0000 Subject: [PATCH] test(integration): wait for the stalled alert post to finish before sending the next alert --- tests/integration/observability/test_user_soft_budget_alert.py | 1 + 1 file changed, 1 insertion(+) diff --git a/tests/integration/observability/test_user_soft_budget_alert.py b/tests/integration/observability/test_user_soft_budget_alert.py index 70a82e64f01..b25495f694f 100644 --- a/tests/integration/observability/test_user_soft_budget_alert.py +++ b/tests/integration/observability/test_user_soft_budget_alert.py @@ -941,6 +941,7 @@ def test_stalled_alert_sink_does_not_hold_the_request_or_duplicate_the_alert(ale alerting.sink.stalling.clear() alerting.sink.release.set() try: + eventually(alerting.alerts.wire.open_connections, lambda still_open: still_open == 0, seconds=ALERT_SECONDS) later_id: Final = crossing_user(scenario) gateway.chat(model, key=scenario.key(user_id=later_id)) for user_id in (later_id, stalled_id):