Skip to content

Commit

Permalink
engine: disable goleak
Browse files Browse the repository at this point in the history
  • Loading branch information
wlwilliamx committed Nov 18, 2024
1 parent 426aebe commit 05fe1f4
Show file tree
Hide file tree
Showing 5 changed files with 5 additions and 15 deletions.
4 changes: 1 addition & 3 deletions engine/executor/server/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
4 changes: 1 addition & 3 deletions engine/pkg/meta/internal/etcdkv/namespace/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
4 changes: 1 addition & 3 deletions engine/pkg/meta/internal/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
4 changes: 1 addition & 3 deletions engine/pkg/meta/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}
4 changes: 1 addition & 3 deletions engine/pkg/meta/mock/main_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -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)
}

0 comments on commit 05fe1f4

Please sign in to comment.