1
0
mirror of synced 2026-02-25 01:36:56 +00:00

Dump debug info on e2e tests

Signed-off-by: Matheus Pimenta <matheuscscp@gmail.com>
This commit is contained in:
Matheus Pimenta
2026-02-24 09:15:52 +00:00
parent a6aefab55b
commit 7a8cf63623
7 changed files with 180 additions and 5 deletions

View File

@@ -94,6 +94,7 @@ spec:
t.Logf("failed to delete resources in '%s' namespace: %s", testID, err)
}
})
t.Cleanup(func() { dumpDiagnostics(t, ctx, testID) })
g.Eventually(func() bool {
err := verifyGitAndKustomization(ctx, testEnv.Client, testID, testID)