diff --git a/tests/spec_decode/e2e/test_integration_dist_tp4.py b/tests/spec_decode/e2e/test_integration_dist_tp4.py index 555aef99218c3..2cb10de1c6f55 100644 --- a/tests/spec_decode/e2e/test_integration_dist_tp4.py +++ b/tests/spec_decode/e2e/test_integration_dist_tp4.py @@ -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) """ - with pytest.raises(openai.APIConnectionError): + with pytest.raises( + (openai.APIConnectionError, openai.InternalServerError)): run_equality_correctness_test_tp(MAIN_MODEL, common_llm_kwargs, per_test_common_llm_kwargs,