Skip to content

🪢 Open source agent evals & observability: Trace, evaluate, and improve LLM applications with one open platform.

chore: fixing flaky observations-api-v2 test. third time's a charm? (#11086)

Valery Meleshkin583796aa6ab1
diff --git a/web/src/__tests__/async/observations-api-v2.servertest.ts b/web/src/__tests__/async/observations-api-v2.servertest.ts
index 9d56d0e402..3966227104 100644
--- a/web/src/__tests__/async/observations-api-v2.servertest.ts
+++ b/web/src/__tests__/async/observations-api-v2.servertest.ts
@@ -272,7 +272,7 @@ describe("/api/public/v2/observations API Endpoint", () => {
await createEventsCh([observation1, observation2]);
- await new Promise((resolve) => setTimeout(resolve, 50));
+ await new Promise((resolve) => setTimeout(resolve, 150));
// Focus on testing columns that require joins to other tables
// (columns from traces table: userId, traceName, sessionId, traceTags, traceEnvironment)