diff options
author | Daniel Watkins <oddbloke@ubuntu.com> | 2020-05-14 09:27:44 -0400 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-05-14 09:27:44 -0400 |
commit | 089408751cdbd7950f58616f9d85ff9dfd9aa3c7 (patch) | |
tree | 376b9e7663eb82e84d5129c1dc04e6fce4904dff /tox.ini | |
parent | 2e32c40a607250bc9e713c0daf360dc6617f4420 (diff) | |
download | vyos-cloud-init-089408751cdbd7950f58616f9d85ff9dfd9aa3c7.tar.gz vyos-cloud-init-089408751cdbd7950f58616f9d85ff9dfd9aa3c7.zip |
cloud_tests: emit dots on Travis while fetching images (#347)
This ensures that Travis will not kill our tests if fetching images is
taking a long time.
In implementation terms, this introduces a context manager which will
spin up a multiprocessing.Process in the background and print a dot to
stdout every 10 seconds. The process is terminated when the context
manager exits.
This also drop the use of travis_wait, which was being used to work
around this issue.
Diffstat (limited to 'tox.ini')
-rw-r--r-- | tox.ini | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -134,6 +134,6 @@ deps = [testenv:citest] basepython = python3 commands = {envpython} -m tests.cloud_tests {posargs} -passenv = HOME +passenv = HOME TRAVIS deps = -r{toxinidir}/integration-requirements.txt |