From 79f4857fd7df23cde5d602ce9a850a715801bfbb Mon Sep 17 00:00:00 2001 From: Piotr Mlocek Date: Wed, 19 Aug 2026 12:58:52 -0700 Subject: [PATCH] fix(e2e): isolate supervisor middleware test Signed-off-by: Piotr Mlocek --- e2e/rust/Cargo.toml | 3 ++- tasks/test.toml | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/e2e/rust/Cargo.toml b/e2e/rust/Cargo.toml index 04f4b23f5..8329b621f 100644 --- a/e2e/rust/Cargo.toml +++ b/e2e/rust/Cargo.toml @@ -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" diff --git a/tasks/test.toml b/tasks/test.toml index bdb044f67..1f73fd01e 100644 --- a/tasks/test.toml +++ b/tasks/test.toml @@ -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"]