Skip to content

Commit

Permalink
Fix: Travis times out when running Integ tests (aws#739)
Browse files Browse the repository at this point in the history
Travis expects output from commands and if no ouput is recieved,
Travis kills the build thinking command has stalled. Some of our
integ tests cause this issue in travis: https://travis-ci.org/awslabs/aws-sam-cli/jobs/447830765

This commit adds travis_wait to our integ test command. Details on
this can be found here: https://docs.travis-ci.com/user/common-build-problems/#my-builds-are-timing-out
  • Loading branch information
jfuss authored and sanathkr committed Nov 1, 2018
1 parent bbe822d commit 1d276ea
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -27,4 +27,4 @@ install:
script:
# Runs unit tests
- make pr
- make integ-test
- SAM_CLI_DEV=1 travis_wait pytest -vv tests/integration

0 comments on commit 1d276ea

Please sign in to comment.