Skip to content

Commit

Permalink
chore: remove nit log (#4391)
Browse files Browse the repository at this point in the history
  • Loading branch information
zirain authored Oct 8, 2024
1 parent f6b8a67 commit 5e53e2a
Show file tree
Hide file tree
Showing 3 changed files with 11 additions and 0 deletions.
4 changes: 4 additions & 0 deletions test/conformance/conformance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -9,8 +9,11 @@ package conformance

import (
"flag"
"os"
"testing"

"sigs.k8s.io/controller-runtime/pkg/log"
"sigs.k8s.io/controller-runtime/pkg/log/zap"
"sigs.k8s.io/gateway-api/conformance"
"sigs.k8s.io/gateway-api/conformance/tests"
"sigs.k8s.io/gateway-api/conformance/utils/suite"
Expand All @@ -20,6 +23,7 @@ import (

func TestGatewayAPIConformance(t *testing.T) {
flag.Parse()
log.SetLogger(zap.New(zap.WriteTo(os.Stderr), zap.UseDevMode(true)))

opts := conformance.DefaultOptions(t)
opts.SkipTests = internalconf.EnvoyGatewaySuite.SkipTests
Expand Down
3 changes: 3 additions & 0 deletions test/conformance/experimental_conformance_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,6 +14,8 @@ import (

"github.com/stretchr/testify/require"
"k8s.io/apimachinery/pkg/util/sets"
"sigs.k8s.io/controller-runtime/pkg/log"
"sigs.k8s.io/controller-runtime/pkg/log/zap"
"sigs.k8s.io/gateway-api/conformance"
conformancev1 "sigs.k8s.io/gateway-api/conformance/apis/v1"
"sigs.k8s.io/gateway-api/conformance/tests"
Expand All @@ -26,6 +28,7 @@ import (

func TestExperimentalConformance(t *testing.T) {
flag.Parse()
log.SetLogger(zap.New(zap.WriteTo(os.Stderr), zap.UseDevMode(true)))

opts := conformance.DefaultOptions(t)
opts.SkipTests = internalconf.EnvoyGatewaySuite.SkipTests
Expand Down
4 changes: 4 additions & 0 deletions test/e2e/e2e_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -10,9 +10,12 @@ package e2e
import (
"flag"
"io/fs"
"os"
"testing"

"k8s.io/apimachinery/pkg/util/sets"
"sigs.k8s.io/controller-runtime/pkg/log"
"sigs.k8s.io/controller-runtime/pkg/log/zap"
"sigs.k8s.io/gateway-api/conformance/utils/flags"
"sigs.k8s.io/gateway-api/conformance/utils/suite"
"sigs.k8s.io/gateway-api/conformance/utils/tlog"
Expand All @@ -24,6 +27,7 @@ import (

func TestE2E(t *testing.T) {
flag.Parse()
log.SetLogger(zap.New(zap.WriteTo(os.Stderr), zap.UseDevMode(true)))

c, cfg := kubetest.NewClient(t)

Expand Down

0 comments on commit 5e53e2a

Please sign in to comment.