Skip to content

Commit

Permalink
update CRD path
Browse files Browse the repository at this point in the history
  • Loading branch information
abhijeet-dhumal committed Jan 16, 2024
1 parent d478f6b commit 978ab24
Showing 1 changed file with 4 additions and 2 deletions.
6 changes: 4 additions & 2 deletions functional-tests/appwrapper_reconciler_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,7 @@ package functional_tests

import (
"context"
"fmt"
"go/build"
"os"
"path/filepath"
Expand Down Expand Up @@ -43,8 +44,8 @@ func startEnvTest(t *testing.T) *envtest.Environment {
testEnv = &envtest.Environment{
CRDDirectoryPaths: []string{
filepath.Join("..", "config", "crd", "bases"),
filepath.Join(build.Default.GOROOT, "pkg", "mod", "github.com", "project-codeflare", "[email protected]", "config", "crd", "bases"),
filepath.Join(build.Default.GOROOT, "pkg", "mod", "github.com", "openshift", "[email protected]", "machine", "v1beta1"),
filepath.Join(build.Default.GOPATH, "pkg", "mod", "github.com", "project-codeflare", "[email protected]", "config", "crd", "bases"),
filepath.Join(build.Default.GOPATH, "pkg", "mod", "github.com", "openshift", "[email protected]", "machine", "v1beta1"),
},
}
cfg, err = testEnv.Start()
Expand Down Expand Up @@ -139,6 +140,7 @@ func TestReconciler(t *testing.T) {

//create new test namespace
namespace := test.NewTestNamespace()
fmt.Println()

// initializes an appwrapper for the created namespace
aw := instascaleAppwrapper(namespace.Name)
Expand Down

0 comments on commit 978ab24

Please sign in to comment.