diff --git a/_assets/scripts/run_functional_tests.sh b/_assets/scripts/run_functional_tests.sh index 5134ca3e9..cfd5b9d97 100755 --- a/_assets/scripts/run_functional_tests.sh +++ b/_assets/scripts/run_functional_tests.sh @@ -26,12 +26,6 @@ mkdir -p "${test_results_path}" all_compose_files="-f ${root_path}/docker-compose.anvil.yml -f ${root_path}/docker-compose.test.status-go.yml" project_name="status-go-func-tests-$(date +%s)" -if [ "$(uname)" = "Darwin" ]; then - separator="-" -else - separator="_" -fi - status_backend_count=10 export STATUS_BACKEND_URLS=$(eval echo http://${project_name}-status-backend-{1..${status_backend_count}}:3333 | tr ' ' ,) @@ -52,7 +46,7 @@ docker compose -p ${project_name} ${all_compose_files} logs status-go > "${root_ docker compose -p ${project_name} ${all_compose_files} logs status-backend > "${root_path}/status-backend.log" # Retrieve exit code -exit_code=$(docker inspect ${project_name}${separator}tests-rpc${separator}1 -f '{{.State.ExitCode}}'); +exit_code=$(docker inspect ${project_name}-tests-rpc-1 -f '{{.State.ExitCode}}'); # Cleanup containers echo -e "${GRN}Removing docker containers${RST}"