Merge pull request #133101 from isimluk/cleanup-testfiles

ci: client-go: test should cleanup their temp dir

Kubernetes-commit: 9636317da03df9e8e71eab9327854c0ec8dc9d7c
This commit is contained in:
Kubernetes Publisher 2025-07-21 14:15:10 -07:00
commit b9f61132f4

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()
}