Skip to content

Commit cfc04a3

Browse files
docs(testing): move e2e conformance-only selector to shared section
The selector applies to all four driver runners, so document it with the Rust CLI e2e suites instead of under the Kubernetes task variants. Signed-off-by: Matthew Grossman <mgrossman@nvidia.com>
1 parent 57207da commit cfc04a3

1 file changed

Lines changed: 12 additions & 12 deletions

File tree

‎TESTING.md‎

Lines changed: 12 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -249,6 +249,18 @@ Suites:
249249
- VM suite (`--features e2e-vm`) - runs e2e tests on a VM.
250250
- Kubernetes credential-driver suite (`--features e2e-kubernetes-credential-drivers`) - targeted Kubernetes Secrets and Vault provider credential storage coverage.
251251

252+
The Docker, Podman, Kubernetes, and VM runners execute CLI
253+
conformance before their Rust tests. Set the driver's feature variable
254+
(`OPENSHELL_E2E_DOCKER_FEATURES`, `OPENSHELL_E2E_PODMAN_FEATURES`,
255+
`OPENSHELL_E2E_KUBERNETES_FEATURES`, or `OPENSHELL_E2E_VM_FEATURES`) to
256+
`e2e-conformance-only` to skip the Rust tests; the runner logs a notice when
257+
it skips them. Unset or empty values select the driver's default Rust
258+
features. The selector is handled by the runner; it is not a Cargo feature.
259+
260+
```shell
261+
OPENSHELL_E2E_KUBERNETES_FEATURES=e2e-conformance-only mise run e2e:kubernetes
262+
```
263+
252264
GPU device-selection tests compare OpenShell sandboxes against a plain Docker or
253265
Podman container that requests `--device nvidia.com/gpu=all`. The probe image
254266
defaults to the image used by the `gateway` stage in
@@ -535,18 +547,6 @@ Available task variants:
535547
| `e2e:kubernetes:v1alpha1` | Agent Sandbox v1alpha1 compatibility |
536548
| `e2e:kubernetes:external-driver` | External Kubernetes driver sidecar |
537549

538-
The Docker, Podman, Kubernetes, and VM runners execute CLI
539-
conformance before their Rust tests. Set the driver's feature variable
540-
(`OPENSHELL_E2E_DOCKER_FEATURES`, `OPENSHELL_E2E_PODMAN_FEATURES`,
541-
`OPENSHELL_E2E_KUBERNETES_FEATURES`, or `OPENSHELL_E2E_VM_FEATURES`) to
542-
`e2e-conformance-only` to skip the Rust tests. Unset or empty values select
543-
the driver's default Rust features. The selector is handled by the runner;
544-
it is not a Cargo feature.
545-
546-
```shell
547-
OPENSHELL_E2E_KUBERNETES_FEATURES=e2e-conformance-only mise run e2e:kubernetes
548-
```
549-
550550
Kubernetes e2e environment variables:
551551

552552
| Variable | Purpose |

0 commit comments

Comments
 (0)