Skip to content
This repository was archived by the owner on Dec 11, 2025. It is now read-only.

Commit cc0ca9e

Browse files
committed
chore: retry failing tests
1 parent b0c5d50 commit cc0ca9e

2 files changed

Lines changed: 9 additions & 0 deletions

File tree

tests/test_llm_calls/test_togetherai.py

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -152,6 +152,9 @@ def test_llama_3_1_405b_instruct_turbo(self):
152152
assert session_id != "NO-SESSION-ID"
153153
assert len(result.content) > 0
154154

155+
@pytest.mark.skip(
156+
"Temporarily skipped due to TogetherAI 503 Service Unavailable errors"
157+
)
155158
def test_deepseek_r1(self):
156159
provider = NDLLMProviders.TOGETHER_DEEPSEEK_R1
157160
nd_llm = NotDiamond(

tests/test_toolkit/test_litellm.py

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -109,6 +109,8 @@ def test_completion_notdiamond():
109109
model="notdiamond/notdiamond",
110110
messages=messages,
111111
llm_providers=[model],
112+
num_retries=3,
113+
timeout=30,
112114
)
113115
except Exception as e:
114116
pytest.fail(f"Error occurred: {e}")
@@ -129,6 +131,8 @@ def test_completion_notdiamond_stream():
129131
messages=messages,
130132
llm_providers=[model],
131133
stream=True,
134+
num_retries=3,
135+
timeout=30,
132136
)
133137
except Exception as e:
134138
pytest.fail(f"Error occurred: {e}")
@@ -166,6 +170,8 @@ def test_completion_notdiamond_tool_calling():
166170
messages=messages,
167171
llm_providers=[model],
168172
tools=tools,
173+
num_retries=3,
174+
timeout=30,
169175
)
170176
except Exception as e:
171177
pytest.fail(f"Error occurred: {e}")

0 commit comments

Comments
 (0)