Skip to content

test/e2e: add sandbox persistence e2e test across all providers#3069

Open
thejasn wants to merge 1 commit into
confidential-containers:mainfrom
thejasn:thn/sandbox-persistence-e2e
Open

test/e2e: add sandbox persistence e2e test across all providers#3069
thejasn wants to merge 1 commit into
confidential-containers:mainfrom
thejasn:thn/sandbox-persistence-e2e

Conversation

@thejasn
Copy link
Copy Markdown

@thejasn thejasn commented May 18, 2026

Add DoTestSandboxPersistence to common_suite.go covering both CAA restart types (rollout restart and delete pod). The test creates two counter pods, verifies exec and counters survive each restart type with zero container restarts, then confirms clean state after deletion.

Gated behind TEST_SANDBOX_PERSISTENCE=true so it's safe to merge before the sandbox persistence feature lands (#3055)

Provider wrappers added: libvirt, aws, azure, docker, byom, gcp, ibmcloud.

Add DoTestSandboxPersistence to common_suite.go covering both CAA restart
types (rollout restart and delete pod). The test creates two counter pods,
verifies exec and counters survive each restart type with zero container
restarts, then confirms clean state after deletion.

Gated behind TEST_SANDBOX_PERSISTENCE=true so it's safe to merge before
the sandbox persistence feature lands — the feature branch enables it in
CI workflows.

Provider wrappers added: libvirt, aws, azure, docker, byom, gcp, ibmcloud.

Signed-off-by: Thejas N <thn@redhat.com>
@thejasn thejasn marked this pull request as ready for review May 25, 2026 07:04
@thejasn thejasn requested a review from a team as a code owner May 25, 2026 07:04
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant