mirror of
https://github.com/foomo/keel.git
synced 2025-10-16 12:35:34 +00:00
revert: remove goleak
This commit is contained in:
parent
8882274093
commit
2038db3570
1
go.mod
1
go.mod
@ -38,7 +38,6 @@ require (
|
||||
go.temporal.io/api v1.8.0
|
||||
go.temporal.io/sdk v1.15.0
|
||||
go.temporal.io/sdk/contrib/opentelemetry v0.1.0
|
||||
go.uber.org/goleak v1.3.0
|
||||
go.uber.org/zap v1.27.0
|
||||
golang.org/x/crypto v0.22.0
|
||||
golang.org/x/sync v0.7.0
|
||||
|
||||
@ -5,12 +5,9 @@ import (
|
||||
|
||||
"github.com/foomo/keel/keeltest"
|
||||
"github.com/stretchr/testify/assert"
|
||||
"go.uber.org/goleak"
|
||||
)
|
||||
|
||||
func TestInline(t *testing.T) {
|
||||
defer goleak.VerifyNone(t)
|
||||
|
||||
t.Run("read inline", func(t *testing.T) {
|
||||
value, ok := keeltest.Inline(t, 1) // INLINE: hello world
|
||||
assert.True(t, ok)
|
||||
|
||||
@ -12,7 +12,6 @@ import (
|
||||
|
||||
"github.com/foomo/keel/service"
|
||||
"github.com/stretchr/testify/suite"
|
||||
"go.uber.org/goleak"
|
||||
"go.uber.org/zap"
|
||||
"go.uber.org/zap/zaptest"
|
||||
|
||||
@ -74,9 +73,7 @@ func (s *KeelTestSuite) AfterTest(suiteName, testName string) {
|
||||
}
|
||||
|
||||
// TearDownSuite hook
|
||||
func (s *KeelTestSuite) TearDownSuite() {
|
||||
goleak.VerifyNone(s.T())
|
||||
}
|
||||
func (s *KeelTestSuite) TearDownSuite() {}
|
||||
|
||||
func (s *KeelTestSuite) TestServiceHTTP() {
|
||||
s.svr.AddServices(
|
||||
|
||||
Loading…
Reference in New Issue
Block a user