avocado.job: Log a better error message on abort

Signed-off-by: NLucas Meneghel Rodrigues <lmr@redhat.com>
上级 621800d0
......@@ -205,8 +205,8 @@ class TestRunner(object):
early_state['time_elapsed'] = time.time() - time_started
test_state = self._fill_aborted_test_state(early_state)
test_log = logging.getLogger('avocado.test')
test_log.error('Test %s aborted unexpectedly',
test_state['name'])
test_log.error('ERROR %s -> TestAbortedError: '
'Test aborted unexpectedly', test_state['name'])
self.result.check_test(test_state)
if not status.mapping[test_state['status']]:
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册