提交 e09c973c 编写于 作者: L Lukáš Doktor

avocado.test: Add missing argument to test.MissingTest

When importing of the test fails, it's class is set to MissingTest
and then it's executed. But running requires runner_queue param.
Without it the test fails and Avocado hangs for infinity for early
status.
Signed-off-by: NLukáš Doktor <ldoktor@redhat.com>
上级 3d543ad4
......@@ -585,10 +585,11 @@ class MissingTest(Test):
"""
def __init__(self, name=None, params=None, base_logdir=None, tag=None,
job=None):
job=None, runner_queue=None):
super(MissingTest, self).__init__(name=name,
base_logdir=base_logdir,
tag=tag, job=job)
tag=tag, job=job,
runner_queue=runner_queue)
def action(self):
e_msg = ('Test %s could not be found in the test dir %s '
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册