mirror of
https://github.com/BerriAI/litellm.git
synced 2026-11-15 09:12:18 +00:00
test(integration): wait for the stalled alert post to finish before sending the next alert
This commit is contained in:
parent
ae267bd677
commit
6d6e4b7167
1 changed files with 1 additions and 0 deletions
|
|
@ -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):
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue