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
56321e9f
"examples/pytorch/graphsage/train_cv.py" did not exist on "20e1bb455b0304d6d39125b9d4f528fe17947c27"
Unverified
Commit
56321e9f
authored
Sep 22, 2025
by
Jimmy
Committed by
GitHub
Sep 21, 2025
Browse files
[Router]fix: fix get_load missing api_key (#10385)
parent
12d6cf18
Changes
21
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
0 deletions
+6
-0
sgl-router/tests/test_pd_routing.rs
sgl-router/tests/test_pd_routing.rs
+6
-0
No files found.
sgl-router/tests/test_pd_routing.rs
View file @
56321e9f
...
...
@@ -54,6 +54,7 @@ mod test_pd_routing {
.worker_type
(
WorkerType
::
Prefill
{
bootstrap_port
:
Some
(
9000
),
})
.api_key
(
"test_api_key"
)
.build
(),
);
assert_eq!
(
prefill_worker
.url
(),
"http://prefill:8080"
);
...
...
@@ -68,6 +69,7 @@ mod test_pd_routing {
let
decode_worker
:
Box
<
dyn
Worker
>
=
Box
::
new
(
BasicWorkerBuilder
::
new
(
"http://decode:8080"
)
.worker_type
(
WorkerType
::
Decode
)
.api_key
(
"test_api_key"
)
.build
(),
);
assert_eq!
(
decode_worker
.url
(),
"http://decode:8080"
);
...
...
@@ -80,6 +82,7 @@ mod test_pd_routing {
let
regular_worker
:
Box
<
dyn
Worker
>
=
Box
::
new
(
BasicWorkerBuilder
::
new
(
"http://regular:8080"
)
.worker_type
(
WorkerType
::
Regular
)
.api_key
(
"test_api_key"
)
.build
(),
);
assert_eq!
(
regular_worker
.url
(),
"http://regular:8080"
);
...
...
@@ -297,6 +300,7 @@ mod test_pd_routing {
.worker_type
(
WorkerType
::
Prefill
{
bootstrap_port
:
Some
(
9000
),
})
.api_key
(
"test_api_key"
)
.build
(),
);
...
...
@@ -700,6 +704,7 @@ mod test_pd_routing {
.worker_type
(
WorkerType
::
Prefill
{
bootstrap_port
:
Some
(
9000
),
})
.api_key
(
"test_api_key"
)
.build
(),
);
...
...
@@ -836,6 +841,7 @@ mod test_pd_routing {
.worker_type
(
WorkerType
::
Prefill
{
bootstrap_port
:
Some
(
9000
),
})
.api_key
(
"test_api_key"
)
.build
(),
);
...
...
Prev
1
2
Next
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