Skip to content

Commit 2dc6bc4

Browse files
author
Kate Osborn
committed
Move check for plus usage endpoint to test-with-plus target
1 parent 895ce15 commit 2dc6bc4

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/Makefile

+2-2
Original file line numberDiff line numberDiff line change
@@ -133,7 +133,7 @@ stop-longevity-test: nfr-test ## Stop the longevity test and collects results
133133
--plus-license-file-name=$(PLUS_LICENSE_FILE) --plus-usage-endpoint=$(PLUS_USAGE_ENDPOINT)
134134

135135
.PHONY: test
136-
test: check-for-plus-usage-endpoint build-crossplane-image ## Runs the functional tests on your kind k8s cluster
136+
test: build-crossplane-image ## Runs the functional tests on your kind k8s cluster
137137
kind load docker-image nginx-crossplane:latest --name $(CLUSTER_NAME)
138138
go run github.com/onsi/ginkgo/v2/ginkgo --randomize-all --randomize-suites --keep-going --fail-on-pending \
139139
--trace -r -v --buildvcs --force-newlines $(GITHUB_OUTPUT) \
@@ -146,7 +146,7 @@ test: check-for-plus-usage-endpoint build-crossplane-image ## Runs the functiona
146146
--plus-license-file-name=$(PLUS_LICENSE_FILE) --plus-usage-endpoint=$(PLUS_USAGE_ENDPOINT)
147147

148148
.PHONY: test-with-plus
149-
test-with-plus: PLUS_ENABLED=true
149+
test-with-plus: check-for-plus-usage-endpoint PLUS_ENABLED=true
150150
test-with-plus: test ## Runs the functional tests for NGF with NGINX Plus on your default k8s cluster
151151

152152
.PHONY: cleanup-gcp

0 commit comments

Comments
 (0)