From 5b4635dd6aa15ef49ce55198925bcce641f69848 Mon Sep 17 00:00:00 2001 From: Christoph Barbian Date: Fri, 27 Dec 2024 15:23:02 +0100 Subject: [PATCH] fix webhooks integration test (add missing defer) --- webhooks/suite_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/webhooks/suite_test.go b/webhooks/suite_test.go index 95617ca..a5c06cc 100644 --- a/webhooks/suite_test.go +++ b/webhooks/suite_test.go @@ -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())