From 751bffa426e5a54209e7b3dc15a0d75f2ed61aea Mon Sep 17 00:00:00 2001 From: Brian Mendoza Date: Fri, 1 Mar 2024 12:06:49 -0500 Subject: [PATCH] fix test suite --- controller/suite_test.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/controller/suite_test.go b/controller/suite_test.go index f199e4f4a..cd8951838 100644 --- a/controller/suite_test.go +++ b/controller/suite_test.go @@ -56,7 +56,7 @@ var _ = BeforeSuite(func() { By("bootstrapping test environment") testEnv = &envtest.Environment{ - CRDDirectoryPaths: []string{filepath.Join("..", "..", "config", "crd", "bases")}, + CRDDirectoryPaths: []string{filepath.Join("..", "config", "crd", "bases")}, ErrorIfCRDPathMissing: true, // The BinaryAssetsDirectory is only required if you want to run the tests directly