From 24a9e9e6e60b869b69ae5f5b120e26962fbb446e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=D0=A2=D0=BE=D0=B2=D0=B0=D1=80=D0=B8=D1=89=20=D0=BF=D1=80?= =?UTF-8?q?=D0=BE=D0=B3=D1=80=D0=B0=D0=BC=D0=BC=D0=B8=D1=81=D1=82?= <2962928213@qq.com> Date: Wed, 17 Apr 2024 08:51:03 +0800 Subject: [PATCH] fix: fix incomplete cleanup in functional test --- test/integration/helpers_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/test/integration/helpers_test.go b/test/integration/helpers_test.go index 51005eab94ca..78eb944bdec6 100644 --- a/test/integration/helpers_test.go +++ b/test/integration/helpers_test.go @@ -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) }