From e70856f58c21576b2c4d925943dac126f5e87512 Mon Sep 17 00:00:00 2001 From: Cleber Rosa Date: Thu, 7 Dec 2023 10:58:18 -0500 Subject: [PATCH] testlogs plugin: show unique test id Instead of showing test names which can indeed repeat within a job. Signed-off-by: Cleber Rosa --- avocado/plugins/testlogs.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/avocado/plugins/testlogs.py b/avocado/plugins/testlogs.py index 4b06d45283..f2f6af706d 100644 --- a/avocado/plugins/testlogs.py +++ b/avocado/plugins/testlogs.py @@ -79,7 +79,7 @@ def post(self, job): summary_tests = [] for test in results["tests"]: if test["status"] in summary: - line = f"{test['name']}: {test['status']}" + line = f"{test['id']}: {test['status']}" summary_tests.append(line) if not statuses or test["status"] not in statuses: continue