From b542ce7a7c530fbfa874dd780294628b62fe092a Mon Sep 17 00:00:00 2001 From: James Falcon Date: Thu, 5 Nov 2020 14:24:47 -0600 Subject: Prevent timeout on travis integration tests. (#651) Add a script in travis to output a dot every 10 minute during and integration test run to prevent travis timeout. Co-authored-by: Rick Harding --- .travis.yml | 11 ++++++++++- 1 file changed, 10 insertions(+), 1 deletion(-) diff --git a/.travis.yml b/.travis.yml index 87841424..496c1a81 100644 --- a/.travis.yml +++ b/.travis.yml @@ -199,7 +199,16 @@ matrix: fi # Use sudo to get a new shell where we're in the sbuild group - sudo -E su $USER -c 'sbuild --nolog --no-run-lintian --verbose --dist=xenial cloud-init_*.dsc' - - sg lxd -c 'CLOUD_INIT_IMAGE_SOURCE="$(ls *.deb)" tox -e integration-tests' + - sg lxd -c 'CLOUD_INIT_IMAGE_SOURCE="$(ls *.deb)" tox -e integration-tests' & + - | + SECONDS=0 + while [ -e /proc/$! ]; do + if [ "$SECONDS" -gt "570" ]; then + echo -n '.' + SECONDS=0 + fi + sleep 10 + done - python: 3.5 env: TOXENV=xenial -- cgit v1.2.3