[CI] Fix startup error test (#36230)

A change in engine startup error messages in #35478 caused this test failure.

Signed-off-by: Harry Mellor <19981378+hmellor@users.noreply.github.com>
This commit is contained in:
Harry Mellor
2026-03-06 11:50:28 +00:00
committed by GitHub
parent 2a00d3241f
commit e2090bf3af
2 changed files with 3 additions and 2 deletions

View File

@@ -172,6 +172,7 @@ fo = "fo"
nd = "nd"
eles = "eles"
datas = "datas"
ure = "ure"
[tool.uv]
no-build-isolation-package = ["torch"]

View File

@@ -68,7 +68,7 @@ def test_async_llm_startup_error(
)
# Confirm we get an exception.
with pytest.raises(Exception, match="initialization failed"):
with pytest.raises(Exception, match=r"initialization fail(ed|ure)"):
_ = AsyncLLM.from_engine_args(engine_args)
# Confirm all the processes are cleaned up.
@@ -111,7 +111,7 @@ def test_llm_startup_error(
with pytest.raises(
Exception,
match="initialization failed"
match=r"initialization fail(ed|ure)"
if enable_multiprocessing
else "Simulated Error in startup!",
):