mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 19:31:44 +00:00
Merge pull request #109134 from pacoxu/patch-8
TestPreShutdownHooks: change timeout to 200ms
This commit is contained in:
commit
cb6ca16d47
@ -443,7 +443,7 @@ func TestPreShutdownHooks(t *testing.T) {
|
|||||||
var r result
|
var r result
|
||||||
client := newClient(true)
|
client := newClient(true)
|
||||||
for i := 0; i < 5; i++ {
|
for i := 0; i < 5; i++ {
|
||||||
r = doer.Do(client, func(httptrace.GotConnInfo) {}, fmt.Sprintf("/echo?message=attempt-%d", i), 100*time.Millisecond)
|
r = doer.Do(client, func(httptrace.GotConnInfo) {}, fmt.Sprintf("/echo?message=attempt-%d", i), 1*time.Second)
|
||||||
if r.err != nil {
|
if r.err != nil {
|
||||||
break
|
break
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user