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]

chore: add a comment explaining why update one second to three second

mrFranklinf221ce58668a
diff --git a/tests/local_testing/test_opik.py b/tests/local_testing/test_opik.py
index d43b7558f54..7e3fa84df1a 100644
--- a/tests/local_testing/test_opik.py
+++ b/tests/local_testing/test_opik.py
@@ -120,8 +120,8 @@ def test_sync_opik_logging_http_request():
temperature=0.2,
mock_response="This is a mock response",
)
-
- # Need to wait for a short amount of time as the log_success callback is called in a different thread
+
+ # Need to wait for a short amount of time as the log_success callback is called in a different thread. One or two seconds is often not enough.
time.sleep(3)
# Check that 5 spans and 5 traces were sent