diff --git a/ddl/tests/adminpause/pause_cancel_test.go b/ddl/tests/adminpause/pause_cancel_test.go index 3ac8851554840..4caac3ce45be5 100644 --- a/ddl/tests/adminpause/pause_cancel_test.go +++ b/ddl/tests/adminpause/pause_cancel_test.go @@ -208,7 +208,7 @@ func TestPauseCancelAndRerunIndexStmt(t *testing.T) { func TestPauseCancelAndRerunColumnStmt(t *testing.T) { var dom, stmtKit, adminCommandKit = prepareDomain(t) - require.Nil(t, generateTblUser(stmtKit, 500)) + require.Nil(t, generateTblUser(stmtKit, 200)) for _, stmtCase := range columnDDLStmtCase { pauseAndCancelStmt(t, stmtKit, adminCommandKit, dom, &stmtCase) diff --git a/util/sem/main_test.go b/util/sem/main_test.go index 64ba584bbe162..51f622233ed16 100644 --- a/util/sem/main_test.go +++ b/util/sem/main_test.go @@ -27,6 +27,7 @@ func TestMain(m *testing.M) { goleak.IgnoreTopFunction("github.com/golang/glog.(*fileSink).flushDaemon"), goleak.IgnoreTopFunction("github.com/lestrrat-go/httprc.runFetchWorker"), goleak.IgnoreTopFunction("go.etcd.io/etcd/client/pkg/v3/logutil.(*MergeLogger).outputLoop"), + goleak.IgnoreTopFunction("go.opencensus.io/stats/view.(*worker).start"), } goleak.VerifyTestMain(m, opts...) }