Skip to content

Commit eb6130a

Browse files
committed
fix(e2e): isolate supervisor middleware test
Signed-off-by: Piotr Mlocek <pmlocek@nvidia.com>
1 parent 4ec382b commit eb6130a

2 files changed

Lines changed: 3 additions & 2 deletions

File tree

‎e2e/rust/Cargo.toml‎

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -33,6 +33,7 @@ e2e-kubernetes-workspace-managed = ["e2e-kubernetes"]
3333
e2e-kubernetes-workspace-operator = ["e2e-kubernetes"]
3434
e2e-podman = ["e2e", "e2e-host-gateway", "e2e-local-container-driver"]
3535
e2e-podman-gpu = ["e2e-podman", "e2e-gpu"]
36+
e2e-supervisor-middleware = ["e2e-docker"]
3637
e2e-oidc-pkce = []
3738
e2e-vm = ["e2e", "e2e-host-gateway"]
3839

@@ -144,7 +145,7 @@ required-features = ["e2e-host-gateway"]
144145
[[test]]
145146
name = "supervisor_middleware"
146147
path = "tests/supervisor_middleware.rs"
147-
required-features = ["e2e-docker"]
148+
required-features = ["e2e-supervisor-middleware"]
148149

149150
[[test]]
150151
name = "workspace_namespace_managed"

‎tasks/test.toml‎

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -95,7 +95,7 @@ run = [
9595
["e2e:supervisor-middleware"]
9696
description = "Run the authenticated supervisor middleware happy-path E2E test against a Docker-backed gateway"
9797
run = [
98-
"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",
98+
"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",
9999
]
100100

101101
["e2e:mcp"]

0 commit comments

Comments
 (0)