Skip to content

Commit

Permalink
Bump cluster-operator in integration test
Browse files Browse the repository at this point in the history
  • Loading branch information
ansd committed Jan 30, 2024
1 parent 8e5ec95 commit fbe1ad1
Showing 1 changed file with 4 additions and 3 deletions.
7 changes: 4 additions & 3 deletions controllers/suite_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -14,12 +14,13 @@ import (
"crypto/x509"
"fmt"
"go/build"
"k8s.io/client-go/kubernetes"
"k8s.io/client-go/rest"
"path/filepath"
"testing"
"time"

"k8s.io/client-go/kubernetes"
"k8s.io/client-go/rest"

"sigs.k8s.io/controller-runtime/pkg/envtest/komega"

"github.com/rabbitmq/messaging-topology-operator/rabbitmqclient"
Expand Down Expand Up @@ -99,7 +100,7 @@ var _ = BeforeSuite(func() {
testEnv = &envtest.Environment{
CRDDirectoryPaths: []string{
filepath.Join("..", "config", "crd", "bases"),
filepath.Join(build.Default.GOPATH, "pkg", "mod", "github.com", "rabbitmq", "cluster-operator", "v2@v2.6.0", "config", "crd", "bases"),
filepath.Join(build.Default.GOPATH, "pkg", "mod", "github.com", "rabbitmq", "cluster-operator", "v2@v2.7.0", "config", "crd", "bases"),
},
ErrorIfCRDPathMissing: true,
Config: &rest.Config{
Expand Down

0 comments on commit fbe1ad1

Please sign in to comment.