Skip to content

Commit

Permalink
Merge pull request #2565 from chrischdi/pr-test-e2e-setlogger
Browse files Browse the repository at this point in the history
🌱 test: set logger in e2e suite
  • Loading branch information
k8s-ci-robot authored Dec 23, 2023
2 parents 23cb289 + 20c2679 commit e31606b
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions test/e2e/e2e_suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,6 +29,7 @@ import (
. "github.com/onsi/gomega"
corev1 "k8s.io/api/core/v1"
"k8s.io/apimachinery/pkg/runtime"
"k8s.io/klog/v2"
"sigs.k8s.io/cluster-api/test/framework"
"sigs.k8s.io/cluster-api/test/framework/bootstrap"
"sigs.k8s.io/cluster-api/test/framework/clusterctl"
Expand Down Expand Up @@ -100,6 +101,8 @@ func TestE2E(t *testing.T) {
NewWithT(t).Expect(err).ToNot(HaveOccurred())
defer w.Close()

ctrl.SetLogger(klog.Background())

RunSpecs(t, "capv-e2e")
}

Expand Down

0 comments on commit e31606b

Please sign in to comment.