Skip to content

Commit

Permalink
feat: refactor integration tests folders structure (#1914)
Browse files Browse the repository at this point in the history
Signed-off-by: chenk <hen.keinan@gmail.com>
  • Loading branch information
chen-keinan committed Mar 17, 2024
1 parent 5134307 commit 2ed26a2
Show file tree
Hide file tree
Showing 61 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion magefile.go
Expand Up @@ -280,7 +280,7 @@ func (t Test) Envtest() error {
return err
}
mg.Deps(t.envTestBin)
return sh.RunWithV(map[string]string{"KUBEBUILDER_ASSETS": output}, "go", "test", "-v", "-timeout", "60s", "-coverprofile=coverage.txt", "./pkg/operator/envtest/...")
return sh.RunWithV(map[string]string{"KUBEBUILDER_ASSETS": output}, "go", "test", "-v", "-timeout", "60s", "-coverprofile=coverage.txt", "./tests/envtest/...")
}

// removeDir removes the directory at the given path.
Expand Down
File renamed without changes.
Expand Up @@ -63,7 +63,7 @@ var _ = BeforeSuite(func() {

By("bootstrapping test environment")
testEnv = &envtest.Environment{
CRDDirectoryPaths: []string{filepath.Join("..", "..", "..", "deploy", "helm", "crds")},
CRDDirectoryPaths: []string{filepath.Join("..", "..", "deploy", "helm", "crds")},
ErrorIfCRDPathMissing: true,
}
testEnv.ControlPlaneStartTimeout = 60 * time.Second
Expand Down
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.
File renamed without changes.

0 comments on commit 2ed26a2

Please sign in to comment.