Skip to content

Commit

Permalink
fix_: use uuidgen
Browse files Browse the repository at this point in the history
  • Loading branch information
igor-sirotin committed Dec 19, 2024
1 parent e00505f commit d1b7978
Showing 1 changed file with 1 addition and 2 deletions.
3 changes: 1 addition & 2 deletions _assets/scripts/run_functional_tests.sh
Original file line number Diff line number Diff line change
Expand Up @@ -24,8 +24,7 @@ mkdir -p "${merged_coverage_reports_path}"
mkdir -p "${test_results_path}"

all_compose_files="-f ${root_path}/docker-compose.anvil.yml -f ${root_path}/docker-compose.test.status-go.yml"
timestamp=$(python3 -c "import time; print(int(time.time() * 1000))") # Cross-platform timestamp in milliseconds
project_name="status-go-func-tests-${timestamp}"
project_name="status-go-func-tests-$(uuidgen)"

export STATUS_BACKEND_URLS=$(eval echo http://${project_name}-status-backend-{1..${STATUS_BACKEND_COUNT}}:3333 | tr ' ' ,)

Expand Down

0 comments on commit d1b7978

Please sign in to comment.