From e09c973c830e0f5392d6069b6111baf255313463 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Luk=C3=A1=C5=A1=20Doktor?= Date: Mon, 12 Jan 2015 17:49:38 +0100 Subject: [PATCH] avocado.test: Add missing argument to test.MissingTest MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: Lukáš Doktor --- avocado/test.py | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/avocado/test.py b/avocado/test.py index d8405dad..2e505d0e 100644 --- a/avocado/test.py +++ b/avocado/test.py @@ -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 ' -- GitLab