[ci] fix broken distributed-tests-4-gpus (#11937)

Signed-off-by: youkaichao <youkaichao@gmail.com>
This commit is contained in:
youkaichao 2025-01-11 09:07:24 +08:00 committed by GitHub
parent c9f09a4fe8
commit 899136b857
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -108,7 +108,8 @@ def test_skip_speculation(common_llm_kwargs, per_test_common_llm_kwargs,
TODO: fix it to pass without raising Error. (#5814) TODO: fix it to pass without raising Error. (#5814)
""" """
with pytest.raises(openai.APIConnectionError): with pytest.raises(
(openai.APIConnectionError, openai.InternalServerError)):
run_equality_correctness_test_tp(MAIN_MODEL, run_equality_correctness_test_tp(MAIN_MODEL,
common_llm_kwargs, common_llm_kwargs,
per_test_common_llm_kwargs, per_test_common_llm_kwargs,