mirror of
https://github.com/k3s-io/kubernetes.git
synced 2025-07-22 11:21:47 +00:00
TestPreShutdownHooks: change timeout to 1s
This commit is contained in:
parent
699aeb735f
commit
99c447ff0e
@ -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
Block a user