mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-31 15:25:57 +00:00
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:
parent
d2904845cd
commit
b636984004
@ -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",
|
||||
|
Loading…
Reference in New Issue
Block a user