From 05fe1f42bf4cf45b835b3fcd804c1690f607fa7c Mon Sep 17 00:00:00 2001 From: wlwilliamx Date: Mon, 18 Nov 2024 17:41:23 +0800 Subject: [PATCH] engine: disable goleak --- engine/executor/server/main_test.go | 4 +--- engine/pkg/meta/internal/etcdkv/namespace/main_test.go | 4 +--- engine/pkg/meta/internal/main_test.go | 4 +--- engine/pkg/meta/main_test.go | 4 +--- engine/pkg/meta/mock/main_test.go | 4 +--- 5 files changed, 5 insertions(+), 15 deletions(-) diff --git a/engine/executor/server/main_test.go b/engine/executor/server/main_test.go index 556c42d7ed8..7a10f2bb217 100644 --- a/engine/executor/server/main_test.go +++ b/engine/executor/server/main_test.go @@ -14,10 +14,8 @@ package server import ( "testing" - - "github.com/pingcap/tiflow/pkg/leakutil" ) func TestMain(m *testing.M) { - leakutil.SetUpLeakTest(m) + // leakutil.SetUpLeakTest(m) } diff --git a/engine/pkg/meta/internal/etcdkv/namespace/main_test.go b/engine/pkg/meta/internal/etcdkv/namespace/main_test.go index 774eeb6c6b8..99b1c7b80fc 100644 --- a/engine/pkg/meta/internal/etcdkv/namespace/main_test.go +++ b/engine/pkg/meta/internal/etcdkv/namespace/main_test.go @@ -14,10 +14,8 @@ package namespace import ( "testing" - - "github.com/pingcap/tiflow/pkg/leakutil" ) func TestMain(m *testing.M) { - leakutil.SetUpLeakTest(m) + // leakutil.SetUpLeakTest(m) } diff --git a/engine/pkg/meta/internal/main_test.go b/engine/pkg/meta/internal/main_test.go index c5da1d15ec3..bc1415587b4 100644 --- a/engine/pkg/meta/internal/main_test.go +++ b/engine/pkg/meta/internal/main_test.go @@ -14,10 +14,8 @@ package internal import ( "testing" - - "github.com/pingcap/tiflow/pkg/leakutil" ) func TestMain(m *testing.M) { - leakutil.SetUpLeakTest(m) + // leakutil.SetUpLeakTest(m) } diff --git a/engine/pkg/meta/main_test.go b/engine/pkg/meta/main_test.go index 722f0624cb8..43bd750c1a8 100644 --- a/engine/pkg/meta/main_test.go +++ b/engine/pkg/meta/main_test.go @@ -14,10 +14,8 @@ package meta import ( "testing" - - "github.com/pingcap/tiflow/pkg/leakutil" ) func TestMain(m *testing.M) { - leakutil.SetUpLeakTest(m) + // leakutil.SetUpLeakTest(m) } diff --git a/engine/pkg/meta/mock/main_test.go b/engine/pkg/meta/mock/main_test.go index 76d65932fd2..967d28483b0 100644 --- a/engine/pkg/meta/mock/main_test.go +++ b/engine/pkg/meta/mock/main_test.go @@ -14,10 +14,8 @@ package mock import ( "testing" - - "github.com/pingcap/tiflow/pkg/leakutil" ) func TestMain(m *testing.M) { - leakutil.SetUpLeakTest(m) + // leakutil.SetUpLeakTest(m) }