1
0
Fork 0
mirror of https://github.com/gocsaf/csaf.git synced 2025-12-22 11:55:40 +01:00

Adjust script

* Disable exiting from Script for the errors by checking if the
validator-service is started.
This commit is contained in:
Fadi Abbud 2022-06-22 11:47:09 +02:00
parent e1966a5716
commit 9a390e2bcc

View file

@ -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