From 4c5398b556fbedfdf4389ec23e6af53ac389ff97 Mon Sep 17 00:00:00 2001 From: Krrish Dholakia Date: Thu, 25 Apr 2024 19:35:30 -0700 Subject: [PATCH] test(test_timeout.py): fix test --- litellm/tests/test_timeout.py | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/litellm/tests/test_timeout.py b/litellm/tests/test_timeout.py index 25968916778..d38da52e51f 100644 --- a/litellm/tests/test_timeout.py +++ b/litellm/tests/test_timeout.py @@ -132,7 +132,8 @@ def test_hanging_request_openai(): "model_name": "openai-gpt", "litellm_params": {"model": "gpt-3.5-turbo"}, }, - ] + ], + num_retries=0, ) encoded = litellm.utils.encode(model="gpt-3.5-turbo", text="blue")[0] @@ -190,6 +191,7 @@ def test_timeout_streaming(): # test_timeout_streaming() +@pytest.mark.skip(reason="local test") def test_timeout_ollama(): # this Will Raise a timeout import litellm