Skip to content

test(e2e): port the tests added to e2e/rust after the migration inventory #5907

In progress

Description

@matthewgrossman

User Story

As a maintainer retiring e2e/rust, I want the three tests that merged after the #5297 inventory ported to testkit, so e2e/rust doesn't keep tests the plan never assigned.

Description

These files merged after the #5297 plan was written. They are PR10 in the plan comment. (The two Kubernetes files added in the same period, kubernetes_tracing.rs and kubernetes_shared_supervisor_spiffe.rs, belong to PR8.)

Legacy test file Action Destination Notes
sandbox_compat_signals_sched.rs (#5212) port tests/suites/conformance Driver-agnostic syscall mediation. Use unsupported.yaml for any row it can't pass yet.
supervisor_middleware_http_hooks.rs (#4359) port tests/suites/features/middleware-http-hooks A tmachine add-on builds the examples/supervisor-middleware-content-guard example and registers it as a middleware service for the gateway. It publishes OPENSHELL_TEST_* variables, and the test fails if they are missing instead of skipping. Today only mise run e2e:middleware-http-hooks runs it, so the new CI row adds coverage.
provider_github_app.rs (#3676), with support/github_app_fixture.py, support/github_app_tls.rs and support/provider_refresh_handles.rs port tests/suites/features/provider-refresh Goes next to the provider-refresh tests from #5729 (#5792). Reuse #5780's TLS host servers instead of github_app_tls.rs where they fit.

Match the lanes that ran each legacy test, and say in the PR body which rows each test runs on.

Files deleted

sandbox_compat_signals_sched.rs, supervisor_middleware_http_hooks.rs, provider_github_app.rs and their e2e/rust/tests/support/ files once nothing uses them. Remove every reference in e2e/rust/Cargo.toml, the wrapper scripts (e2e-podman.sh's test list), tasks/*.toml (e2e:middleware-http-hooks) and nextest config.

Context

Definition of Done

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Labels

topic:testingUnit, integration, regression, conformance, E2E tests, coverage, flakes, and test infrastructure.

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions