Skip to content

Commit 664141a

Browse files
committed
update TestConfigureTransport
Signed-off-by: duyanghao <[email protected]>
1 parent 71b27cf commit 664141a

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

http2/transport_test.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -596,7 +596,7 @@ func TestTransportDialTLS(t *testing.T) {
596596

597597
func TestConfigureTransport(t *testing.T) {
598598
t1 := &http.Transport{}
599-
err := ConfigureTransport(t1)
599+
err := ConfigureTransport(t1, WithReadIdleTimeout(3*time.Second), WithPingTimeout(1*time.Second))
600600
if err != nil {
601601
t.Fatal(err)
602602
}

0 commit comments

Comments
 (0)