mirror of
https://github.com/BerriAI/litellm.git
synced 2026-09-24 00:52:24 +00:00
test(e2e): retry a leaked video job until the guardrail sync deadline
Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
parent
a44befa8c5
commit
dfc5ef70b4
1 changed files with 1 additions and 1 deletions
|
|
@ -71,7 +71,7 @@ class TestKeyAttachedGuardrailOnVideos:
|
|||
f"block response missing content-filter reason: {body[:300]}"
|
||||
)
|
||||
return
|
||||
case Success(data=video):
|
||||
case Success(data=video) if time.monotonic() >= deadline:
|
||||
pytest.fail(
|
||||
f"key-attached guardrail {guardrail_name!r} was skipped on /v1/videos: "
|
||||
f"the banned prompt reached the provider and started video job {video.id}"
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue