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:
parent
e1966a5716
commit
9a390e2bcc
1 changed files with 3 additions and 0 deletions
|
|
@ -107,6 +107,9 @@ popd
|
||||||
# Setup validation service
|
# Setup validation service
|
||||||
./setupValidationService.sh
|
./setupValidationService.sh
|
||||||
|
|
||||||
|
# Disable exit for the next error as these is expected.
|
||||||
|
set +e
|
||||||
|
|
||||||
# Wait for the service to be started
|
# Wait for the service to be started
|
||||||
for ((i = 1; i <= 10; i++)); do
|
for ((i = 1; i <= 10; i++)); do
|
||||||
if [ $(curl -IL http://localhost:3000/api/v1/tests | grep -c HTTP ) != "0" ]; then
|
if [ $(curl -IL http://localhost:3000/api/v1/tests | grep -c HTTP ) != "0" ]; then
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue