From 22a8cd0cb793e39b1bc98735ef0234ce5d5f2ddd Mon Sep 17 00:00:00 2001 From: Mateo Wang <277851410+mateo-berri@users.noreply.github.com> Date: Thu, 15 Oct 2026 00:02:10 -0700 Subject: [PATCH] test(integration): cache the two-turn tool_search guardrail replays (#46614) * test(integration): cache the two-turn guardrail replays and derive the thinking pass-through timeout * test(integration): keep the thinking pass-through timeout as on main The derived timeout had no failing run behind it, so this PR now only fixes the guardrail cache cells --- .../authorization/test_tool_search_replay_guardrails.py | 7 ++++++- 1 file changed, 6 insertions(+), 1 deletion(-) diff --git a/tests/integration/authorization/test_tool_search_replay_guardrails.py b/tests/integration/authorization/test_tool_search_replay_guardrails.py index 14f647ecf94..2f0ca383201 100644 --- a/tests/integration/authorization/test_tool_search_replay_guardrails.py +++ b/tests/integration/authorization/test_tool_search_replay_guardrails.py @@ -67,7 +67,12 @@ def _config(directory: Path, model: str, upstream: str, shell: str) -> Path: "router_settings": {"disable_cooldowns": True}, "litellm_settings": { "cache": True, - "cache_params": {"type": "redis", "host": "os.environ/REDIS_HOST", "port": "os.environ/REDIS_PORT"}, + "cache_params": { + "type": "redis", + "host": "os.environ/REDIS_HOST", + "port": "os.environ/REDIS_PORT", + "max_messages": None, + }, }, "guardrails": [ {