Skip to content

The fastest, litest AI Gateway. Rust core with Python SDK. Call 100+ LLM APIs in OpenAI (or native) format with cost tracking, guardrails, load balancing, and logging [Bedrock, Azure, OpenAI, Anthropic, OpenAI, VertexAI, vLLM, Nvidia NIM]

fix(e2e): reject first listing that returns after the 40s deadline

mubashir1osmani87be33f9354f
diff --git a/tests/e2e/proxy_client.py b/tests/e2e/proxy_client.py
index 36dada5770a..b3fc8538322 100644
--- a/tests/e2e/proxy_client.py
+++ b/tests/e2e/proxy_client.py
@@ -154,6 +154,8 @@ def await_servable(
if not listed:
first_seen_at = None
elif first_seen_at is None:
+ if t > started + timeout:
+ return NotServable(last_result=last_result)
first_seen_at = t
if db_sync_seconds <= 0:
return Servable()