From dfc5ef70b4259bd5f189af1f04d11a9d9ffb8a41 Mon Sep 17 00:00:00 2001 From: yucheng Date: Mon, 21 Sep 2026 22:44:05 +0000 Subject: [PATCH] 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> --- tests/e2e/guardrails/test_key_guardrail_video_e2e.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/tests/e2e/guardrails/test_key_guardrail_video_e2e.py b/tests/e2e/guardrails/test_key_guardrail_video_e2e.py index 8c70ea5b46f..100e9af5a5f 100644 --- a/tests/e2e/guardrails/test_key_guardrail_video_e2e.py +++ b/tests/e2e/guardrails/test_key_guardrail_video_e2e.py @@ -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}"