From d0636891b64a82526ab808837a5e11cc3479c127 Mon Sep 17 00:00:00 2001 From: Stefan Bueringer Date: Mon, 18 Aug 2025 14:59:21 +0200 Subject: [PATCH] Fix ginkgo panic in webhook integration test MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Signed-off-by: Stefan Büringer buringerst@vmware.com --- pkg/webhook/webhook_integration_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/webhook/webhook_integration_test.go b/pkg/webhook/webhook_integration_test.go index 98538cf822..cbb5b711f7 100644 --- a/pkg/webhook/webhook_integration_test.go +++ b/pkg/webhook/webhook_integration_test.go @@ -111,6 +111,7 @@ var _ = Describe("Webhook", func() { server.Register("/failing", &webhook.Admission{Handler: admission.MultiValidatingHandler(&rejectingValidator{d: admission.NewDecoder(testenv.Scheme)})}) go func() { + defer GinkgoRecover() err = server.Start(ctx) Expect(err).NotTo(HaveOccurred()) }()