Merge pull request #109134 from pacoxu/patch-8

TestPreShutdownHooks: change timeout to 200ms
This commit is contained in:
Kubernetes Prow Robot 2022-03-30 01:20:26 -07:00 committed by GitHub
commit cb6ca16d47
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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
}