test(e2e): fix AfterAll cleanup failure when minio test is skipped by mnencia · Pull Request #10324 · cloudnative-pg/cloudnative-pg

@mnencia

The backup_restore_minio AfterAll handler attempts to delete cluster
resources even when BeforeAll was skipped on non-kind/k3d clusters,
causing a spurious failure because the namespace was never created.

Skip the cleanup when namespace is empty.

Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>

@dosubot dosubot bot added the size:XS

This PR changes 0-9 lines, ignoring generated files.

label

Mar 18, 2026

@dosubot dosubot bot added bug 🐛

Something isn't working

E2E tests

E2E tests tickets for easy triage on release process

labels

Mar 18, 2026

jsilvela

@mnencia @jsilvela

Co-authored-by: Jaime Silvela <jaime.silvela@enterprisedb.com>
Signed-off-by: Marco Nenciarini <marco.nenciarini@enterprisedb.com>

@dosubot dosubot bot added size:S

This PR changes 10-29 lines, ignoring generated files.

and removed size:XS

This PR changes 0-9 lines, ignoring generated files.

labels

Mar 23, 2026

@jsilvela

Signed-off-by: Jaime Silvela <jaime.silvela@mailfence.com>

@dosubot dosubot bot added size:XS

This PR changes 0-9 lines, ignoring generated files.

and removed size:S

This PR changes 10-29 lines, ignoring generated files.

labels

Mar 23, 2026

jsilvela

@dosubot dosubot bot added the lgtm

This PR has been approved by a maintainer

label

Mar 23, 2026