Skip to content

Commit d714cc2

Browse files
authored
test(e2e): remove superseded podman userns tests
Signed-off-by: Evan Lezar <elezar@nvidia.com>
1 parent 475f6dd commit d714cc2

4 files changed

Lines changed: 7 additions & 315 deletions

File tree

‎TESTING.md‎

Lines changed: 4 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -267,9 +267,10 @@ Rust feature. The separate `driver-podman` testsuite compares OpenShell and
267267
direct Podman user-namespace mappings for the default, `auto`, `keep-id`, and
268268
private profiles. The E2E archive excludes binaries that still depend on
269269
wrapper-owned gateway controls, host fixtures, missing guest tools, or
270-
nondeterministic relay setup.
271-
`tests/artifacts.nix` keeps the explicit follow-up list so those binaries cannot
272-
appear as false passes or silently re-enter the archive.
270+
nondeterministic relay setup. The `driver-podman` suite replaces the removed
271+
`podman_userns` E2E binary. `tests/artifacts.nix` keeps the follow-up exclusions
272+
explicit so those binaries cannot appear as false passes or silently re-enter
273+
the archive.
273274

274275
Run the VM-backed Rust CLI e2e suite:
275276

‎e2e/rust/Cargo.toml‎

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -113,11 +113,6 @@ name = "podman_resource_limits"
113113
path = "tests/podman_resource_limits.rs"
114114
required-features = ["e2e-podman"]
115115

116-
[[test]]
117-
name = "podman_userns"
118-
path = "tests/podman_userns.rs"
119-
required-features = ["e2e-podman"]
120-
121116
[[test]]
122117
name = "provider_refresh_handles"
123118
path = "tests/provider_refresh_handles.rs"

‎e2e/rust/tests/podman_userns.rs‎

Lines changed: 0 additions & 302 deletions
This file was deleted.

‎tests/artifacts.nix‎

Lines changed: 3 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -100,9 +100,8 @@ let
100100
# managed-gateway controls, SPIFFE fixtures, caller driver-config setting,
101101
# guest tools, and matching workload-image identity behavior. The corporate
102102
# proxy and gateway-start binaries currently self-skip without wrapper-owned
103-
# gateway metadata, so exclude them rather than report false passes. The
104-
# dedicated driver-podman suite retains user-namespace coverage.
105-
podmanE2eExcludedBinaries = [
103+
# gateway metadata, so exclude them rather than report false passes.
104+
podmanE2eFollowUpBinaries = [
106105
"credential_gating"
107106
"driver_config_volume"
108107
"forward_proxy_graphql_l7"
@@ -117,7 +116,6 @@ let
117116
"podman_corporate_proxy"
118117
"podman_gateway_start"
119118
"podman_oci_identity"
120-
"podman_userns"
121119
"provider_auto_create"
122120
"provider_refresh_handles"
123121
"provider_token_exchange"
@@ -134,7 +132,7 @@ let
134132
];
135133
podmanE2eArchiveFilter =
136134
let
137-
excludedBinaries = map (binary: "binary(=${binary})") podmanE2eExcludedBinaries;
135+
excludedBinaries = map (binary: "binary(=${binary})") podmanE2eFollowUpBinaries;
138136
in
139137
"kind(test) and not (${pkgs.lib.concatStringsSep " or " excludedBinaries})";
140138

0 commit comments

Comments
 (0)