Skip to content

Commit

Permalink
Remove unneeded testutils usage - package now internal in k6 (#123)
Browse files Browse the repository at this point in the history
  • Loading branch information
mstoykov authored Feb 13, 2025
1 parent 2b081ee commit da29c66
Showing 1 changed file with 0 additions and 4 deletions.
4 changes: 0 additions & 4 deletions kubernetes_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -12,7 +12,6 @@ import (
"go.k6.io/k6/js/common"
"go.k6.io/k6/js/modulestest"
"go.k6.io/k6/lib"
"go.k6.io/k6/lib/testutils"
"go.k6.io/k6/metrics"
"k8s.io/apimachinery/pkg/runtime"
)
Expand All @@ -23,9 +22,6 @@ func setupTestEnv(t *testing.T, objs ...runtime.Object) *sobek.Runtime {
rt.SetFieldNameMapper(common.FieldNameMapper{})

testLog := logrus.New()
testLog.AddHook(&testutils.SimpleLogrusHook{
HookedLevels: []logrus.Level{logrus.WarnLevel},
})
testLog.SetOutput(io.Discard)

state := &lib.State{
Expand Down

0 comments on commit da29c66

Please sign in to comment.