Skip to content

Commit

Permalink
Increase timeouts for Windows github actions
Browse files Browse the repository at this point in the history
  • Loading branch information
erikdubbelboer committed Jun 18, 2021
1 parent 924a63f commit 874c8ca
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions client_test.go
Expand Up @@ -169,7 +169,7 @@ func TestPipelineClientIssue832(t *testing.T) {
}()

select {
case <-time.After(time.Second):
case <-time.After(time.Second * 2):
t.Fatal("PipelineClient did not restart worker")
case <-done:
}
Expand Down Expand Up @@ -2580,7 +2580,7 @@ func TestHostClientMaxConnWaitTimeoutSuccess(t *testing.T) {
return ln.Dial()
},
MaxConns: 1,
MaxConnWaitTimeout: 200 * time.Millisecond,
MaxConnWaitTimeout: time.Second,
}

for i := 0; i < 5; i++ {
Expand Down Expand Up @@ -2618,7 +2618,7 @@ func TestHostClientMaxConnWaitTimeoutSuccess(t *testing.T) {
}
select {
case <-serverStopCh:
case <-time.After(time.Second):
case <-time.After(time.Second * 5):
t.Fatalf("timeout")
}

Expand Down

0 comments on commit 874c8ca

Please sign in to comment.