diff --git a/tests/entrypoints/openai/chat_completion/test_audio_in_video.py b/tests/entrypoints/openai/chat_completion/test_audio_in_video.py index 61ee91eab4..14ac7ce043 100644 --- a/tests/entrypoints/openai/chat_completion/test_audio_in_video.py +++ b/tests/entrypoints/openai/chat_completion/test_audio_in_video.py @@ -14,8 +14,12 @@ from tests.utils import ROCM_EXTRA_ARGS, RemoteOpenAIServer MODEL_NAME = "Qwen/Qwen2.5-Omni-3B" -@pytest.fixture +@pytest.fixture(scope="module") def server(): + # Use module scope so the server is started once and shared across all + # tests in this file. Starting a new vLLM server per test on XPU can + # cause the second server startup to hang silently and exceed the + # wait-for-server timeout, resulting in RuntimeError. args = [ "--max-model-len", "16384",