From c83d8b6784967c20951d27882af2aff19e6fe590 Mon Sep 17 00:00:00 2001 From: Hangjie Mo Date: Mon, 8 Jan 2024 12:01:02 +0800 Subject: [PATCH 1/2] fix 50153 --- pkg/executor/recover_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pkg/executor/recover_test.go b/pkg/executor/recover_test.go index 78c814afebbf2..ea9ede8bd7dbb 100644 --- a/pkg/executor/recover_test.go +++ b/pkg/executor/recover_test.go @@ -555,7 +555,7 @@ func TestFlashbackSchema(t *testing.T) { require.NoError(t, failpoint.Disable("github.com/pingcap/tidb/pkg/meta/autoid/mockAutoIDChange")) }() - store := testkit.CreateMockStore(t) + store := testkit.CreateMockStore(t, mockstore.WithStoreType(mockstore.EmbedUnistore)) tk := testkit.NewTestKit(t, store) tk.MustExec("create database if not exists test_flashback") From 9aff544121552c17b2db8827586be8910d065e18 Mon Sep 17 00:00:00 2001 From: Hangjie Mo Date: Mon, 8 Jan 2024 12:10:27 +0800 Subject: [PATCH 2/2] go ignore --- pkg/store/driver/main_test.go | 1 + 1 file changed, 1 insertion(+) diff --git a/pkg/store/driver/main_test.go b/pkg/store/driver/main_test.go index 5ae812ccaa084..f0624ab827f4e 100644 --- a/pkg/store/driver/main_test.go +++ b/pkg/store/driver/main_test.go @@ -45,6 +45,7 @@ func TestMain(m *testing.M) { 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.IgnoreTopFunction("syscall.Syscall"), } goleak.VerifyTestMain(m, opts...) }