Skip to content

Commit

Permalink
preventing test timeout
Browse files Browse the repository at this point in the history
  • Loading branch information
Robbie1977 committed Jan 29, 2020
1 parent 5d8f3fa commit 80a7312
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -54,13 +54,13 @@ script:
docker rm $(docker ps -a -q);
sleep 10;
travis_wait 50 docker run -t -dit --name=$CONTAINER_NAME -p 8080:8080 $IMAGE_NAME;
bash $TRAVIS_BUILD_DIR/tests/casperjs/utilities/test_geppetto_server.sh;
travis_wait 50 bash $TRAVIS_BUILD_DIR/tests/casperjs/utilities/test_geppetto_server.sh;
sleep 60;
http_status=$(curl -s -I $1 $LANDING_PAGE | grep HTTP/1.1 | awk {'print $2'});
echo "Done restarting $http_status";
done;
- echo -e "travis_fold:end:Startup_Server3" || true
- npm test -- --verbose --colors
- travis_wait 50 npm test -- --verbose --colors
- echo -e "travis_fold:start:Deploy" || true
- docker ps -a;
- sudo docker cp $CONTAINER_NAME:/home/developer/virgo/serviceability/logs/log.log /etc
Expand Down

0 comments on commit 80a7312

Please sign in to comment.