diff --git a/tools/bumper/cnao_repo_commands_test.go b/tools/bumper/cnao_repo_commands_test.go index fcd2fc9e9..e1a1659e0 100644 --- a/tools/bumper/cnao_repo_commands_test.go +++ b/tools/bumper/cnao_repo_commands_test.go @@ -31,6 +31,7 @@ var _ = Describe("Testing internal git CNAO Repo", func() { DeferCleanup(func() { Expect(os.RemoveAll(gitCnaoRepo.gitRepo.localDir)).To(Succeed()) + Expect(os.RemoveAll(tempDir)).To(Succeed()) }) }) diff --git a/tools/bumper/component_commands_test.go b/tools/bumper/component_commands_test.go index d237494e7..9096a98c0 100644 --- a/tools/bumper/component_commands_test.go +++ b/tools/bumper/component_commands_test.go @@ -28,6 +28,7 @@ var _ = Describe("Testing internal git component", func() { DeferCleanup(func() { Expect(os.RemoveAll(gitComponent.gitRepo.localDir)).To(Succeed()) + Expect(os.RemoveAll(tempDir)).To(Succeed()) }) })