Skip to content

Commit

Permalink
bug: cel tests are always run on a single version of Kubernetes (envo…
Browse files Browse the repository at this point in the history
…yproxy#3584)

The cel test invocation was using the wrong verison of Kubernetes every
time it was being run.

Signed-off-by: Lior Okman <lior.okman@sap.com>
  • Loading branch information
liorokman committed Jun 11, 2024
1 parent 4d699c5 commit 561b979
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tools/make/golang.mk
Original file line number Diff line number Diff line change
Expand Up @@ -66,7 +66,7 @@ go.test.cel: manifests $(tools/setup-envtest) # Run the CEL validation tests
@for ver in $(ENVTEST_K8S_VERSIONS); do \
echo "Run CEL Validation on k8s $$ver"; \
go clean -testcache; \
KUBEBUILDER_ASSETS="$(shell $(tools/setup-envtest) use $$ver -p path)" \
KUBEBUILDER_ASSETS="$$($(tools/setup-envtest) use $$ver -p path)" \
go test ./test/cel-validation --tags celvalidation -race; \
done

Expand Down

0 comments on commit 561b979

Please sign in to comment.