From 97c195e6573de7d0a462e22ed15a1d3533e0d653 Mon Sep 17 00:00:00 2001 From: arnaudberger Date: Fri, 18 Oct 2024 15:57:57 -0400 Subject: [PATCH] update script again --- tests/entrypoint.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/entrypoint.sh b/tests/entrypoint.sh index eefd4b8..49f88f4 100755 --- a/tests/entrypoint.sh +++ b/tests/entrypoint.sh @@ -3,11 +3,11 @@ set -euxo pipefail listen_address= if [[ ${TEST_LOCAL_CODEGEN:-false} == "true" ]]; then - if [[ ${CI:-""} != "" ]]; then + if [[ -z $CI ]]; then + listen_address="http://host.docker.internal:9000" + else # Codegen address when running test listen_address="http://172.17.0.1:9000" - else - listen_address="http://host.docker.internal:9000" fi else listen_address="https://codegen-staging.substreams.dev"