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]
Python ai-gatewayanthropicazure-openaibedrockgatewaylangchainlitellmllmllm-gatewayllmopsmcp-gatewayopenaiopenai-proxyrustrust-aivertex-ai
test(ui): retain primary cleanup failures
Yuneng Jiang1c08c78ad598
diff --git a/tests/e2e/ui/helpers/roundTrip.ts b/tests/e2e/ui/helpers/roundTrip.tsindex 55eb5d6ad9c..4175ba6ec72 100644--- a/tests/e2e/ui/helpers/roundTrip.ts+++ b/tests/e2e/ui/helpers/roundTrip.ts@@ -46,7 +46,9 @@ export async function runWithCleanup(try {if (outcome.status === "failure") throw outcome.error;} finally {- const cleanupSucceeded = await cleanup().catch(() => false);+ const cleanupSucceeded = await Promise.resolve()+ .then(cleanup)+ .catch(() => false);if (outcome.status === "success" && !cleanupSucceeded) {throw new Error("Failed to clean up UI E2E resource");}