Skip to content

Commit

Permalink
fix(test): Increase Flush timeout for TestKeepAlive test (#681)
Browse files Browse the repository at this point in the history
  • Loading branch information
tonyo authored Aug 1, 2023
1 parent dde4d36 commit 491f1fd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion transport_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -547,7 +547,7 @@ func testKeepAlive(t *testing.T, tr Transport) {
checkLastConnReuse := func(reused bool) {
t.Helper()
reqCount++
if !tr.Flush(time.Second) {
if !tr.Flush(2 * time.Second) {
t.Fatal("Flush timed out")
}
if len(rt.reusedConn) != reqCount {
Expand Down

0 comments on commit 491f1fd

Please sign in to comment.