diff --git a/test b/test index 8cc2605..8b3ad7d 100755 --- a/test +++ b/test @@ -1,6 +1,7 @@ #!/bin/bash TMP=/tmp/wordpress +TIMEOUT=120 tear_down () { docker-compose stop @@ -24,7 +25,7 @@ echo -n "Espera al servidor web " while ! curl -s localhost:12001 > /dev/null; do echo -n "." cont=$((cont+1)) - if [ "$cont" == 30 ]; then + if [ "$cont" == $TIMEOUT ]; then echo " no responde" tear_down exit 1