From 9a390e2bcc015c8311525ecf0be428f1b627f732 Mon Sep 17 00:00:00 2001 From: Fadi Abbud Date: Wed, 22 Jun 2022 11:47:09 +0200 Subject: [PATCH] Adjust script * Disable exiting from Script for the errors by checking if the validator-service is started. --- docs/scripts/setupProviderForITest.sh | 3 +++ 1 file changed, 3 insertions(+) diff --git a/docs/scripts/setupProviderForITest.sh b/docs/scripts/setupProviderForITest.sh index 88d33f1..ea69ba8 100755 --- a/docs/scripts/setupProviderForITest.sh +++ b/docs/scripts/setupProviderForITest.sh @@ -107,6 +107,9 @@ popd # Setup validation service ./setupValidationService.sh +# Disable exit for the next error as these is expected. +set +e + # Wait for the service to be started for ((i = 1; i <= 10; i++)); do if [ $(curl -IL http://localhost:3000/api/v1/tests | grep -c HTTP ) != "0" ]; then