Skip to content

Commit cf79513

Browse files
committed
Fix longevity test runs (nginx#2065)
Problem: Running longevity test mistakenly runs all other NFRs make start-longevity-test and make stop-longevity-test mistakenly executes all NFRs. Only longevity test must run. Solution: Problem was introduced in 18671fb Ensure the env variables are exported so that they are passed to nfr-test target. Testing: - Ran make start-longevity-test and make stop-longevity-test successfully. CLOSES - nginx#2064
1 parent 15464ae commit cf79513

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
@@ -100,11 +100,11 @@ nfr-test: ## Run the NFR tests on a GCP VM
100100
NFR=true bash scripts/run-tests-gcp-vm.sh
101101

102102
.PHONY: start-longevity-test
103-
start-longevity-test: START_LONGEVITY=true
103+
start-longevity-test: export START_LONGEVITY=true
104104
start-longevity-test: nfr-test ## Start the longevity test to run for 4 days in GKE
105105

106106
.PHONY: stop-longevity-test
107-
stop-longevity-test: STOP_LONGEVITY=true
107+
stop-longevity-test: export STOP_LONGEVITY=true
108108
stop-longevity-test: nfr-test ## Stop the longevity test and collects results
109109

110110
.PHONY: .vm-nfr-test

0 commit comments

Comments
 (0)