Unverified Commit e2090bf3 authored by Harry Mellor's avatar Harry Mellor Committed by GitHub
Browse files

[CI] Fix startup error test (#36230)



A change in engine startup error messages in #35478 caused this test failure.
Signed-off-by: default avatarHarry Mellor <19981378+hmellor@users.noreply.github.com>
parent 2a00d324
...@@ -172,6 +172,7 @@ fo = "fo" ...@@ -172,6 +172,7 @@ fo = "fo"
nd = "nd" nd = "nd"
eles = "eles" eles = "eles"
datas = "datas" datas = "datas"
ure = "ure"
[tool.uv] [tool.uv]
no-build-isolation-package = ["torch"] no-build-isolation-package = ["torch"]
...@@ -68,7 +68,7 @@ def test_async_llm_startup_error( ...@@ -68,7 +68,7 @@ def test_async_llm_startup_error(
) )
# Confirm we get an exception. # 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) _ = AsyncLLM.from_engine_args(engine_args)
# Confirm all the processes are cleaned up. # Confirm all the processes are cleaned up.
...@@ -111,7 +111,7 @@ def test_llm_startup_error( ...@@ -111,7 +111,7 @@ def test_llm_startup_error(
with pytest.raises( with pytest.raises(
Exception, Exception,
match="initialization failed" match=r"initialization fail(ed|ure)"
if enable_multiprocessing if enable_multiprocessing
else "Simulated Error in startup!", else "Simulated Error in startup!",
): ):
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment