Skip to content

Commit

Permalink
update tests logging
Browse files Browse the repository at this point in the history
  • Loading branch information
pinikomarov committed Oct 8, 2023
1 parent 31df04a commit 23bbc10
Showing 1 changed file with 4 additions and 5 deletions.
9 changes: 4 additions & 5 deletions tests/functional/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -20,13 +20,14 @@ import (
"context"
"crypto/tls"
"fmt"
"github.com/google/uuid"
"k8s.io/apimachinery/pkg/types"
"net"
"path/filepath"
"testing"
"time"

"github.com/google/uuid"
"k8s.io/apimachinery/pkg/types"

"github.com/go-logr/logr"

. "github.com/onsi/ginkgo/v2"
Expand Down Expand Up @@ -175,16 +176,14 @@ var _ = BeforeSuite(func() {
Client: k8sManager.GetClient(),
Scheme: k8sManager.GetScheme(),
Kclient: kclient,
Log: ctrl.Log.WithName("controllers").WithName("Glance"),
}).SetupWithManager(k8sManager)
Expect(err).ToNot(HaveOccurred())

err = (&controllers.GlanceAPIReconciler{
Client: k8sManager.GetClient(),
Scheme: k8sManager.GetScheme(),
Kclient: kclient,
Log: ctrl.Log.WithName("controllers").WithName("GlanceAPI"),
}).SetupWithManager(k8sManager)
}).SetupWithManager(k8sManager, context.Background())
Expect(err).ToNot(HaveOccurred())

// Acquire environmental defaults and initialize operator defaults with them
Expand Down

0 comments on commit 23bbc10

Please sign in to comment.