diff --git a/.github/workflows/performance_test.yml b/.github/workflows/performance_test.yml index 2b5af7a..7d46443 100644 --- a/.github/workflows/performance_test.yml +++ b/.github/workflows/performance_test.yml @@ -25,11 +25,15 @@ jobs: - run: go mod download - - run: go run cmd/dgate-server/main.go & + - run: | + export PORT=8080 + go run cmd/dgate-server/main.go & - name: Wait for server to start run: sleep 15 - - run: ./functional-tests/admin_tests/performance_test_prep.sh + - run: | + export PROXY_URL=http://localhost:8080 + ./functional-tests/admin_tests/performance_test_prep.sh - name: Run local k6 test uses: grafana/k6-action@v0.3.1