From 05f3cf51f1e352d5c76b918aaec661ddfb003347 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Ma=C3=ABl=20Valais?= Date: Fri, 11 Mar 2022 19:03:35 +0000 Subject: [PATCH] e2e: try to load the Make-built crds before the Bazel-built crds MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Since bazel-bin systematically exists, the Make-based CRDs were never picked up, since the bazel-bin folder gets recreated on every invocation of Bazel. Signed-off-by: Maƫl Valais --- internal/test/paths/paths.go | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/internal/test/paths/paths.go b/internal/test/paths/paths.go index 37fd7b923..d96d93bff 100644 --- a/internal/test/paths/paths.go +++ b/internal/test/paths/paths.go @@ -77,12 +77,12 @@ func CRDDirectory() (string, error) { var dir string var err error - dir, err = bazelCRDDirectory() + dir, err = makefileCRDDirectory() if err == nil { return dir, nil } - dir, err = makefileCRDDirectory() + dir, err = bazelCRDDirectory() if err == nil { return dir, nil }