TestPreShutdownHooks: change timeout to 1s
Kubernetes-commit: 99c447ff0e93157bf0760498c4090483162e7cf5
This commit is contained in:
parent
4079840d72
commit
e389c500bd
|
|
@ -443,7 +443,7 @@ func TestPreShutdownHooks(t *testing.T) {
|
|||
var r result
|
||||
client := newClient(true)
|
||||
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 {
|
||||
break
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue