Skip to content
GitLab
Menu
Projects
Groups
Snippets
Loading...
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
Menu
Open sidebar
change
sglang
Commits
d8ed60f2
Unverified
Commit
d8ed60f2
authored
Aug 20, 2025
by
Shangming Cai
Committed by
GitHub
Aug 19, 2025
Browse files
[CI] Fix disaggregation failure tolerance CI (#9378)
Signed-off-by:
Shangming Cai
<
csmthu@gmail.com
>
parent
f1b0eda5
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
2 deletions
+15
-2
test/srt/test_disaggregation.py
test/srt/test_disaggregation.py
+15
-2
No files found.
test/srt/test_disaggregation.py
View file @
d8ed60f2
...
@@ -323,9 +323,22 @@ class TestDisaggregationMooncakeFailure(CustomTestCase):
...
@@ -323,9 +323,22 @@ class TestDisaggregationMooncakeFailure(CustomTestCase):
host
=
f
"http://
{
self
.
base_host
}
"
,
host
=
f
"http://
{
self
.
base_host
}
"
,
port
=
int
(
self
.
lb_port
),
port
=
int
(
self
.
lb_port
),
)
)
# Expect lots of failure but the server cannot crash
try
:
metrics
=
run_eval_few_shot_gsm8k
(
args
)
metrics
=
run_eval_few_shot_gsm8k
(
args
)
print
(
f
"Evaluation metrics:
{
metrics
}
"
)
print
(
f
"Evaluation metrics:
{
metrics
}
"
)
# Expect lots of failure but the server cannot crash
except
Exception
as
e
:
print
(
f
"Test encountered expected errors:
{
e
}
"
)
# Check if servers are still healthy
try
:
response
=
requests
.
get
(
self
.
prefill_url
+
"/health_generate"
)
assert
response
.
status_code
==
200
response
=
requests
.
get
(
self
.
decode_url
+
"/health_generate"
)
assert
response
.
status_code
==
200
except
Exception
as
health_check_error
:
# If health check fails, re-raise the original exception
raise
e
from
health_check_error
class
TestDisaggregationMooncakeSpec
(
CustomTestCase
):
class
TestDisaggregationMooncakeSpec
(
CustomTestCase
):
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment