Skip to content

Commit

Permalink
fix
Browse files Browse the repository at this point in the history
  • Loading branch information
kevindiu committed Aug 4, 2020
1 parent bf3ad7e commit 20da29c
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion internal/net/http/transport/roundtrip_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,10 @@ import (
"go.uber.org/goleak"
)

func TestMain(t *testing.T) {
log.Init()
}

func TestNewExpBackoff(t *testing.T) {
type args struct {
opts []Option
Expand Down Expand Up @@ -290,7 +294,6 @@ func Test_ert_RoundTrip(t *testing.T) {
},
}

log.Init()
for _, test := range tests {
t.Run(test.name, func(tt *testing.T) {
defer goleak.VerifyNone(tt, goleakIgnoreOptions...)
Expand Down

0 comments on commit 20da29c

Please sign in to comment.