From b636984004c18364af5520da02b822328748c4df Mon Sep 17 00:00:00 2001 From: Alexander Zielenski Date: Thu, 1 Feb 2024 14:50:54 -0800 Subject: [PATCH] test: remove unnecessary skip healthz check from test snuck in there while I was working on the test, but is ultimately not necessary to test the functionality. skipping healthz check resulted in leaking goroutines from poststarthooks. --- .../apiserver/cel/validatingadmissionpolicy_test.go | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/test/integration/apiserver/cel/validatingadmissionpolicy_test.go b/test/integration/apiserver/cel/validatingadmissionpolicy_test.go index a8ee6f7ea1e..c638e0b3848 100644 --- a/test/integration/apiserver/cel/validatingadmissionpolicy_test.go +++ b/test/integration/apiserver/cel/validatingadmissionpolicy_test.go @@ -2533,9 +2533,7 @@ func TestCRDsOnStartup(t *testing.T) { // Start the server. server = apiservertesting.StartTestServerOrDie( t, - &apiservertesting.TestServerInstanceOptions{ - SkipHealthzCheck: true, - }, + &apiservertesting.TestServerInstanceOptions{}, []string{ "--enable-admission-plugins", "ValidatingAdmissionPolicy", "--authorization-mode=RBAC",