mirror of
https://github.com/gocsaf/csaf.git
synced 2025-12-22 11:55:40 +01:00
Improve integration test
* Add hint that some fails are okay, while we try to setup the validation service.
This commit is contained in:
parent
88a2d585be
commit
35c31e9a76
1 changed files with 2 additions and 0 deletions
|
|
@ -113,6 +113,8 @@ popd
|
|||
set +e
|
||||
|
||||
# Wait for the service to be started
|
||||
echo
|
||||
echo === Try to reach the validator service ten times, up to nine fails are ok
|
||||
for ((i = 1; i <= 10; i++)); do
|
||||
if [ $(curl -IL http://localhost:3000/api/v1/tests | grep -c HTTP ) != "0" ]; then
|
||||
break
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue