Skip to content

Commit

Permalink
testlogs plugin: show unique test id
Browse files Browse the repository at this point in the history
Instead of showing test names which can indeed repeat within a job.

Signed-off-by: Cleber Rosa <[email protected]>
  • Loading branch information
clebergnu committed Dec 7, 2023
1 parent 342d009 commit e70856f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion avocado/plugins/testlogs.py
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down

0 comments on commit e70856f

Please sign in to comment.