Merge pull request #133101 from isimluk/cleanup-testfiles

ci: client-go: test should cleanup their temp dir
This commit is contained in:
Kubernetes Prow Robot
2025-07-21 14:15:10 -07:00
committed by GitHub

View File

@@ -29,5 +29,5 @@ func TestMain(m *testing.M) {
}
defer os.RemoveAll(tmp)
os.Setenv("KUBECONFIG", filepath.Join(tmp, "dummy-nonexistent-kubeconfig"))
os.Exit(m.Run())
m.Run()
}