From f59bb997c1b44051ae09ef84c05616348f0c119b Mon Sep 17 00:00:00 2001 From: bubbajoe Date: Mon, 15 Apr 2024 08:59:30 +0900 Subject: [PATCH] change port to 8080 to avoid permission error --- .github/workflows/performance_test.yml | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) 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