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.
This commit is contained in:
yuneng-jiang 2026-11-17 11:40:48 -08:00 • committed by GitHub
parent 9fde4a1b58
commit c0b9496ac0
No known key found for this signature in database
GPG key ID: B5690EEEBB952194

View file

@ -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: