diff --git a/common_factories.py b/common_factories.py index fc22ae26..63e9946c 100644 --- a/common_factories.py +++ b/common_factories.py @@ -25,7 +25,7 @@ def run(self): if master_branch: query = """ - select concat(test_name,',',test_variant) from (select id, test_name,test_variant from test_failure,test_run where branch='%s' and test_run_id=id order by test_run_id desc limit %d) x group by test_name,test_variant order by max(id) desc limit %d + select test_name from (select id, test_name from test_failure,test_run where branch='%s' and test_run_id=id order by test_run_id desc limit %d) x group by test_name order by max(id) desc limit %d """ tests = yield self.runQueryWithRetry(query % (master_branch, overlimit, limit)) tests = list(t[0] for t in tests)