From c0b9496ac04cd43793e9cf6a77c0638b0fe030e1 Mon Sep 17 00:00:00 2001 From: yuneng-jiang Date: Tue, 17 Nov 2026 11:40:48 -0800 Subject: [PATCH] test(integration): stop requiring safeguards calls to wait for the anthropic beta map (#52329) #52188 made a filtered /v1/messages call filter against the bundled beta table while the remote map loads in the background, instead of waiting for it. The chaos test still asserted that Foundry safeguards calls stay unanswered until the map loads, so it failed on every integration run since. The other assertions keep covering what the test is for. --- .../providers/anthropic/test_anthropic_safeguards_beta_chaos.py | 1 - 1 file changed, 1 deletion(-) diff --git a/tests/integration/messages_endpoint/providers/anthropic/test_anthropic_safeguards_beta_chaos.py b/tests/integration/messages_endpoint/providers/anthropic/test_anthropic_safeguards_beta_chaos.py index e2f23b7558f..7511232f7b5 100644 --- a/tests/integration/messages_endpoint/providers/anthropic/test_anthropic_safeguards_beta_chaos.py +++ b/tests/integration/messages_endpoint/providers/anthropic/test_anthropic_safeguards_beta_chaos.py @@ -330,7 +330,6 @@ async def test_cold_workers_fetch_the_beta_map_only_for_filtered_safeguards_requ await asyncio.wait_for( _answered_while_the_beta_map_is_held(base_url, key, direct_while_held, chat_markers), timeout=45 ) - assert not held.done(), "Foundry safeguards requests were answered before the beta map loaded" finally: release.set() for served_foundry in await held: