Skip to content
Permalink
Browse files

travis/docker: tune curl options

  • Loading branch information...
Pascal Trovatelli
Pascal Trovatelli committed Aug 12, 2019
1 parent 5e8e0e1 commit ea842ed5ea8af1e5c4860bf25e9a3c932aaf2deb
Showing with 1 addition and 1 deletion.
  1. +1 −1 travis/script.sh
@@ -192,7 +192,7 @@ echo "Running test ${TEST}"
sleep 80
echo "Testing DefectDojo Service"
curl -s -o "/dev/null" http://localhost:8080 -m 120
CR=$(curl -s -o "/dev/null" -m 10 -I http://localhost:8080/login?next= | egrep "^HTTP" | cut -d' ' -f2)
CR=$(curl -s -m 10 -I http://localhost:8080/login?next= | egrep "^HTTP" | cut -d' ' -f2)
if [ "$CR" != 200 ]; then
echo "ERROR: cannot display login screen; got HTTP code $CR"
exit 1

0 comments on commit ea842ed

Please sign in to comment.
You can’t perform that action at this time.