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.
This commit is contained in:
Alexander Zielenski 2024-02-01 14:50:54 -08:00
parent d2904845cd
commit b636984004

View File

@ -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",