Skip to content

Commit efa027b

Browse files
committed
Cleanup git repo after func is deployed
1 parent ae57f21 commit efa027b

1 file changed

Lines changed: 5 additions & 0 deletions

File tree

test/e2e/bundle_test.go

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -380,6 +380,11 @@ func createNamespaceAndDeployFunction() string {
380380
Expect(err).NotTo(HaveOccurred())
381381
_, _ = fmt.Fprint(GinkgoWriter, out)
382382

383+
// cleanup the repo to not run into resource issues
384+
cmd = exec.Command("rm", "-rf", tempDir)
385+
_, err = utils.Run(cmd)
386+
Expect(err).NotTo(HaveOccurred())
387+
383388
return ns
384389
}
385390

0 commit comments

Comments
 (0)