timeouted tests should fail instead of skip
Change-Id: I8828ee3ffc0d3660b1cdf07bfb46ab60440585b6
This commit is contained in:
@@ -120,10 +120,8 @@ class TestRunnerTimeoutManager(tobiko.SharedFixture):
|
||||
if self.deadline is not None:
|
||||
time_left = self.deadline - tobiko.time()
|
||||
if time_left <= 0.:
|
||||
pytest.skip(
|
||||
f"Test runner execution timed out after {self.timeout} "
|
||||
f"seconds",
|
||||
allow_module_level=True)
|
||||
tobiko.fail('Test runner execution timed out after '
|
||||
f'{self.timeout} seconds')
|
||||
else:
|
||||
LOG.debug('Test runner timeout is enabled: '
|
||||
f'{time_left} seconds left')
|
||||
|
Reference in New Issue
Block a user