mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-21 02:41:25 +00:00
Merge pull request #114940 from Rajalakshmi-Girish/fix-apiserver-ut-timeout-fail
Fixes the issue #114145
This commit is contained in:
commit
aab3fb3a1e
@ -857,7 +857,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
Block a user