mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-08-05 10:19:50 +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.
|
// Start the server.
|
||||||
server = apiservertesting.StartTestServerOrDie(
|
server = apiservertesting.StartTestServerOrDie(
|
||||||
t,
|
t,
|
||||||
&apiservertesting.TestServerInstanceOptions{
|
&apiservertesting.TestServerInstanceOptions{},
|
||||||
SkipHealthzCheck: true,
|
|
||||||
},
|
|
||||||
[]string{
|
[]string{
|
||||||
"--enable-admission-plugins", "ValidatingAdmissionPolicy",
|
"--enable-admission-plugins", "ValidatingAdmissionPolicy",
|
||||||
"--authorization-mode=RBAC",
|
"--authorization-mode=RBAC",
|
||||||
|
Loading…
Reference in New Issue
Block a user