Skip to content

Commit

Permalink
*: data race in the statisticstest
Browse files Browse the repository at this point in the history
Signed-off-by: Weizhen Wang <[email protected]>
  • Loading branch information
hawkingrei committed Nov 30, 2022
1 parent f5487e3 commit 4f5608b
Showing 1 changed file with 0 additions and 11 deletions.
11 changes: 0 additions & 11 deletions tests/realtikvtest/statisticstest/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -17,20 +17,9 @@ package statisticstest
import (
"testing"

"github.com/pingcap/tidb/testkit/testsetup"
"github.com/pingcap/tidb/tests/realtikvtest"
"go.uber.org/goleak"
)

func TestMain(m *testing.M) {
opts := []goleak.Option{
goleak.IgnoreTopFunction("github.com/golang/glog.(*loggingT).flushDaemon"),
goleak.IgnoreTopFunction("github.com/lestrrat-go/httprc.runFetchWorker"),
goleak.IgnoreTopFunction("google.golang.org/grpc.(*ccBalancerWrapper).watcher"),
goleak.IgnoreTopFunction("internal/poll.runtime_pollWait"),
goleak.IgnoreTopFunction("net/http.(*persistConn).writeLoop"),
}
testsetup.SetupForCommonTest()
goleak.VerifyTestMain(m, opts...)
realtikvtest.RunTestMain(m)
}

0 comments on commit 4f5608b

Please sign in to comment.