diff --git a/deploy.sh b/deploy.sh index 879e9614287..b6305f94fa0 100644 --- a/deploy.sh +++ b/deploy.sh @@ -1,8 +1,10 @@ #!/bin/bash if [[ "$TRAVIS_BRANCH" = "develop" || "$TRAVIS_BRANCH" = "master" ]];then stestlogname="`date +%Y%m%d%H%M%S`_stest.log" + echo "try to test stest_server network" timeout 10 ping -c 5 47.93.42.145 > /dev/null || exit 1 timeout 10 ping -c 5 47.93.18.60 > /dev/null || exit 1 + echo "stest_server network good" stest_server="" docker_num_in_145=`ssh -p 22008 -t java-tron@47.93.42.145 'docker ps -a | wc -l'` docker_num_in_145=`echo $docker_num_in_145 | tr -d "\r"`