[router] fix router release workflow and add build test in PR (#12315)
This commit is contained in:
@@ -28,7 +28,7 @@ def setup_logger():
|
||||
return logger
|
||||
|
||||
|
||||
from sglang_router_rs import PolicyType
|
||||
from sglang_router.sglang_router_rs import PolicyType
|
||||
|
||||
|
||||
class TestSetupLogger:
|
||||
@@ -742,7 +742,7 @@ def test_router_defaults_and_start(monkeypatch):
|
||||
assert captured["decode_selector"] is None
|
||||
assert captured["cors_allowed_origins"] is None
|
||||
assert captured["worker_urls"] == ["http://w1:8000"]
|
||||
from sglang_router_rs import PolicyType
|
||||
from sglang_router.sglang_router_rs import PolicyType
|
||||
|
||||
assert captured["policy"] == PolicyType.RoundRobin
|
||||
|
||||
|
||||
Reference in New Issue
Block a user