diff --git a/ops/scripts/integration-tests.sh b/ops/scripts/integration-tests.sh index 9de5f2218e21..f4564525837e 100755 --- a/ops/scripts/integration-tests.sh +++ b/ops/scripts/integration-tests.sh @@ -6,13 +6,15 @@ JSON='{"jsonrpc":"2.0","id":0,"method":"rollup_getInfo","params":[]}' if [[ ! -z "$URL" ]]; then # get the addrs from the URL provided - ADDRESSES=$(curl --silent --retry-connrefused --retry $RETRIES --retry-delay 5 $URL) + ADDRESSES=$(curl --fail --show-error --silent --retry-connrefused --retry $RETRIES --retry-delay 5 $URL) export ADDRESS_MANAGER=$(echo $ADDRESSES | jq -r '.AddressManager') fi # wait for the sequencer to be up curl \ --silent \ + --fail \ + --show-error \ -H "Content-Type: application/json" \ --retry-connrefused \ --retry $RETRIES \