Skip to content

Commit

Permalink
test: set logger in e2e suite
Browse files Browse the repository at this point in the history
  • Loading branch information
chrischdi committed Dec 21, 2023
1 parent d8bb2e3 commit 20c2679
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 20c2679

Please sign in to comment.