From 426f5313f7805ab5275ffd99e37364f1a8384de0 Mon Sep 17 00:00:00 2001 From: clime Date: Dec 05 2016 15:15:58 +0000 Subject: [beaker-tests-backend] fiddle timeouts in cancel_build test The cancel_test is tricky as the feature itself. Find way to improve if possible. --- diff --git a/beaker-tests/Regression/backend/tests/cancel_build/run.sh b/beaker-tests/Regression/backend/tests/cancel_build/run.sh index ea7eea1..59b937e 100755 --- a/beaker-tests/Regression/backend/tests/cancel_build/run.sh +++ b/beaker-tests/Regression/backend/tests/cancel_build/run.sh @@ -20,9 +20,9 @@ rlJournalStart sleep 1 done - sleep 10 # sleep additional 10 seconds to confirm build start + sleep 20 # Here backend will attempt to contact us that the job's state changed to 'running' kill -9 `pgrep -f app.py` # kill app.py so that it does not wait for build end - sleep 60 # sleep additional 60 seconds for the build to get running + sleep 20 # downloading srpm to builder is taking place, mockchain is not running yet # test that the build is running rlRun "docker exec copr-backend copr_get_vm_info.py | grep -E 'task_id: 42-fedora-24-x86_64'"