[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:
@@ -172,6 +172,7 @@ fo = "fo"
|
||||
nd = "nd"
|
||||
eles = "eles"
|
||||
datas = "datas"
|
||||
ure = "ure"
|
||||
|
||||
[tool.uv]
|
||||
no-build-isolation-package = ["torch"]
|
||||
|
||||
@@ -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!",
|
||||
):
|
||||
|
||||
Reference in New Issue
Block a user