Skip to content

Commit

Permalink
fix webhooks integration test (add missing defer)
Browse files Browse the repository at this point in the history
  • Loading branch information
cbarbian-sap committed Dec 27, 2024
1 parent 3f3d637 commit 5b4635d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion webhooks/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -141,7 +141,7 @@ var _ = BeforeSuite(func() {
By("starting manager")
threads.Add(1)
go func() {
threads.Done()
defer threads.Done()
defer GinkgoRecover()
err := mgr.Start(ctx)
Expect(err).NotTo(HaveOccurred())
Expand Down

0 comments on commit 5b4635d

Please sign in to comment.