From 4bc985434fa9ab7d6ae4230fd4749f95cceae66c Mon Sep 17 00:00:00 2001 From: Manabu Mccloskey Date: Thu, 26 Oct 2023 16:37:06 -0700 Subject: [PATCH] remove container after failure Signed-off-by: Manabu Mccloskey --- pkg/kind/registry_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/kind/registry_test.go b/pkg/kind/registry_test.go index 9d5b6143..084f8536 100644 --- a/pkg/kind/registry_test.go +++ b/pkg/kind/registry_test.go @@ -47,6 +47,7 @@ func TestReconcileRegistry(t *testing.T) { break } t.Logf("Failed to reconcile: %v", err) + dockerCli.ContainerRemove(ctx, cluster.getRegistryContainerName(), types.ContainerRemoveOptions{Force: true}) time.Sleep(waitInterval) }