Skip to content

Commit

Permalink
test/e2e: set logger (#1309)
Browse files Browse the repository at this point in the history
Signed-off-by: Prajyot-Parab <[email protected]>
  • Loading branch information
Prajyot-Parab authored Jul 24, 2023
1 parent d6512a8 commit 2093fce
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion test/e2e/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,12 @@ import (
"testing"

"k8s.io/apimachinery/pkg/runtime"
"k8s.io/klog/v2"
capi_e2e "sigs.k8s.io/cluster-api/test/e2e"
"sigs.k8s.io/cluster-api/test/framework"
"sigs.k8s.io/cluster-api/test/framework/bootstrap"
"sigs.k8s.io/cluster-api/test/framework/clusterctl"
ctrl "sigs.k8s.io/controller-runtime"

infrav1beta2 "sigs.k8s.io/cluster-api-provider-ibmcloud/api/v1beta2"

Expand Down Expand Up @@ -90,8 +92,8 @@ func init() {
}

func TestE2E(t *testing.T) {
ctrl.SetLogger(klog.Background())
RegisterFailHandler(Fail)

RunSpecs(t, "capi-ibmcloud-e2e")
}

Expand Down

0 comments on commit 2093fce

Please sign in to comment.