Fixes the issue #114145
Kubernetes-commit: db2e97f8088d787bf59cb4b96a6ab5457ef13e24
This commit is contained in:
parent
edbd0372cf
commit
470f61b9ca
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue