selftests/functional/test_basic.py: extend timeout on test_kill_stopped_sleep
Given the last CI jobs, RunnerSimpleTest:test_kill_stopped_sleep() has
been failing often. The obvious reason, given the nature of the test
and the heavily shared and loaded computing resources they run on, is
the lack of resources.
One example of such as failure:
======================================================================
FAIL: test_kill_stopped_sleep (selftests.functional.test_basic.RunnerSimpleTest)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/home/travis/build/avocado-framework/avocado/selftests/functional/test_basic.py", line 549, in test_kill_stopped_sleep
% proc.get_output())
AssertionError: Avocado process still alive 1s after job-timeout:
JOB ID : 5c65a06b4ab15e69d6c4a1fc762368e0e99cbc1f
JOB LOG : /tmp/avocado_selftests.functional.test_basicHIyhV4/job-2016-03-09T15.08-5c65a06/job.log
TESTS : 1
(1/1) /bin/sleep 60:
ctrl+z pressed, stopping test (5046)
ERROR
So, let's give 4 extra seconds for the process to be
terminated. Hopefully failures in the timeout handling will still be
revealed given the relatively small buffer.
Signed-off-by: NCleber Rosa <crosa@redhat.com>
Showing
想要评论请 注册 或 登录