diff --git a/tests/test_deploy b/tests/test_deploy index 3c3b3a2a0..ad5eda36d 100755 --- a/tests/test_deploy +++ b/tests/test_deploy @@ -13,5 +13,9 @@ git commit -m 'initial commit' REPO="test-$(basename $APP)-$RANDOM" git remote add target git@$TARGET:$REPO git push target master +URL=$(ssh dokku@$TARGET url $REPO) sleep 2 -./check_deploy "$(ssh dokku@$TARGET url $REPO)" && echo "-----> Deploy success!" \ No newline at end of file +./check_deploy $URL && echo "-----> Deploy success!" || { + sleep 4 + ./check_deploy $URL && echo "-----> Deploy success!" +} \ No newline at end of file