Fixes the issue #114145

Kubernetes-commit: db2e97f8088d787bf59cb4b96a6ab5457ef13e24
This commit is contained in:
root 2023-01-10 04:49:49 +00:00 committed by Kubernetes Publisher
parent edbd0372cf
commit 470f61b9ca
1 changed files with 1 additions and 1 deletions

View File

@ -528,7 +528,7 @@ func waitForAPIServerStarted(t *testing.T, doer doer) {
client := newClient(true)
i := 1
err := wait.PollImmediate(100*time.Millisecond, 5*time.Second, func() (done bool, err error) {
result := doer.Do(client, func(httptrace.GotConnInfo) {}, fmt.Sprintf("/echo?message=attempt-%d", i), 100*time.Millisecond)
result := doer.Do(client, func(httptrace.GotConnInfo) {}, fmt.Sprintf("/echo?message=attempt-%d", i), time.Second)
i++
if result.err != nil {