Skip to content

Commit

Permalink
Bump CI unit test timeout for less flaky runs (#7831)
Browse files Browse the repository at this point in the history
When using V2, unit tests take too long to run so we have to use `travis_wait`. We set the wait time too short, and have a few times had timeouts.

Note that a better solution would be to figure out why V2 is slower in the first place via #7795, followed by implementing local caching via #6898.
  • Loading branch information
Eric-Arellano authored Jun 3, 2019
1 parent 944b42c commit d72fb81
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions .travis.yml
Original file line number Diff line number Diff line change
Expand Up @@ -947,23 +947,23 @@ matrix:
- *py27_linux_test_config_env
- CACHE_NAME=linuxunittests.py27
script:
- travis_wait 50 ./build-support/bin/ci.sh -2lp
- travis_wait 60 ./build-support/bin/ci.sh -2lp

- <<: *py36_linux_test_config
name: "Unit tests (Py3.6 PEX)"
env:
- *py36_linux_test_config_env
- CACHE_NAME=linuxunittests.py36
script:
- travis_wait 50 ./build-support/bin/ci.sh -lp
- travis_wait 60 ./build-support/bin/ci.sh -lp

- <<: *py37_linux_test_config
name: "Unit tests (Py3.7 PEX)"
env:
- *py37_linux_test_config_env
- CACHE_NAME=linuxunittests.py37
script:
- travis_wait 50 ./build-support/bin/ci.sh -7lp
- travis_wait 60 ./build-support/bin/ci.sh -7lp

- <<: *py27_linux_build_wheels_ucs2
- <<: *py27_linux_build_wheels_ucs4
Expand Down
6 changes: 3 additions & 3 deletions build-support/travis/travis.yml.mustache
Original file line number Diff line number Diff line change
Expand Up @@ -890,23 +890,23 @@ matrix:
- *py27_linux_test_config_env
- CACHE_NAME=linuxunittests.py27
script:
- travis_wait 50 ./build-support/bin/ci.sh -2lp
- travis_wait 60 ./build-support/bin/ci.sh -2lp

- <<: *py36_linux_test_config
name: "Unit tests (Py3.6 PEX)"
env:
- *py36_linux_test_config_env
- CACHE_NAME=linuxunittests.py36
script:
- travis_wait 50 ./build-support/bin/ci.sh -lp
- travis_wait 60 ./build-support/bin/ci.sh -lp

- <<: *py37_linux_test_config
name: "Unit tests (Py3.7 PEX)"
env:
- *py37_linux_test_config_env
- CACHE_NAME=linuxunittests.py37
script:
- travis_wait 50 ./build-support/bin/ci.sh -7lp
- travis_wait 60 ./build-support/bin/ci.sh -7lp

- <<: *py27_linux_build_wheels_ucs2
- <<: *py27_linux_build_wheels_ucs4
Expand Down

0 comments on commit d72fb81

Please sign in to comment.