Skip to content

Commit

Permalink
fix: fix incomplete cleanup in functional test
Browse files Browse the repository at this point in the history
ComradeProgrammer committed Apr 17, 2024
1 parent 981083d commit 24a9e9e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion test/integration/helpers_test.go
Original file line number Diff line number Diff line change
@@ -175,7 +175,7 @@ func Cleanup(t *testing.T, profile string, cancel context.CancelFunc) {
t.Logf("Cleaning up %q profile ...", profile)
ctx, cancel := context.WithTimeout(context.Background(), 2*time.Minute)
defer cancel()
_, err := Run(t, exec.CommandContext(ctx, Target(), "delete", "-p", profile))
_, err := Run(t, exec.CommandContext(ctx, Target(), "delete", "-p", profile, "--purge"))
if err != nil {
t.Logf("failed cleanup: %v", err)
}

0 comments on commit 24a9e9e

Please sign in to comment.