fix(e2e): isolate supervisor middleware test

Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
This commit is contained in:
Piotr Mlocek
2026-08-21 09:27:39 -07:00
parent ce108f7eac
commit 79f4857fd7
2 changed files with 3 additions and 2 deletions
+2 -1
View File
@@ -33,6 +33,7 @@ e2e-kubernetes-workspace-managed = ["e2e-kubernetes"]
e2e-kubernetes-workspace-operator = ["e2e-kubernetes"]
e2e-podman = ["e2e", "e2e-host-gateway", "e2e-local-container-driver"]
e2e-podman-gpu = ["e2e-podman", "e2e-gpu"]
e2e-supervisor-middleware = ["e2e-docker"]
e2e-oidc-pkce = []
e2e-vm = ["e2e", "e2e-host-gateway"]
@@ -159,7 +160,7 @@ required-features = ["e2e-host-gateway"]
[[test]]
name = "supervisor_middleware"
path = "tests/supervisor_middleware.rs"
required-features = ["e2e-docker"]
required-features = ["e2e-supervisor-middleware"]
[[test]]
name = "workspace_namespace_managed"
+1 -1
View File
@@ -95,7 +95,7 @@ run = [
["e2e:supervisor-middleware"]
description = "Run the authenticated supervisor middleware happy-path E2E test against a Docker-backed gateway"
run = [
"OPENSHELL_E2E_MIDDLEWARE_FIXTURE=1 e2e/with-docker-gateway.sh cargo test --manifest-path e2e/rust/Cargo.toml --features e2e-docker --test supervisor_middleware -- --nocapture",
"OPENSHELL_E2E_MIDDLEWARE_FIXTURE=1 e2e/with-docker-gateway.sh cargo test --manifest-path e2e/rust/Cargo.toml --features e2e-supervisor-middleware --test supervisor_middleware -- --nocapture",
]
["e2e:mcp"]