test(e2e): route /credentials to the control plane in split deployments
Some checks failed
LiteLLM Rust / rust-lint (push) Has been cancelled
LiteLLM Rust / rust-test (push) Has been cancelled
LiteLLM Rust / rust-wheel (push) Has been cancelled
Terraform Provider / gofmt, vet, build, test (push) Has been cancelled
Terraform Provider / Provider endpoints vs proxy OpenAPI schema (push) Has been cancelled

Co-Authored-By: Devin AI <158243242+devin-ai-integration[bot]@users.noreply.github.com>
This commit is contained in:
mateo 2026-09-22 08:25:10 +00:00
parent 6c3d89b920
commit 43a7968c36
2 changed files with 2 additions and 0 deletions

View file

@ -389,6 +389,7 @@ class TestReplicasFor:
)
assert set(client.replicas_for("/key/info")) == {"http://backend"}
assert set(client.replicas_for("/project/info")) == {"http://backend"}
assert set(client.replicas_for("/credentials/e2e-cred")) == {"http://backend"}
assert set(client.replicas_for("/v1/models")) == {"http://gateway-1", "http://gateway-2"}
def test_monolith_reads_management_routes_back_from_every_replica(self) -> None:

View file

@ -307,6 +307,7 @@ CONTROL_PLANE_PREFIXES: tuple[str, ...] = (
"/tag",
"/budget",
"/model/",
"/credentials",
"/access_group",
"/spend",
"/global",