]> git.apps.os.sepia.ceph.com Git - teuthology.git/commit
util/scanner: add UnitTestScanner.num_of_total_failures 1792/head
authorVallari Agrawal <val.agl002@gmail.com>
Fri, 27 Oct 2023 08:58:18 +0000 (14:28 +0530)
committerVallari Agrawal <val.agl002@gmail.com>
Mon, 27 Nov 2023 16:25:42 +0000 (21:55 +0530)
commitfec6e4734bceefbf460ca2edf31751f8cbb08b81
tree8170e036ba487a8facc8c616ea1eb8693af954c0
parentbfbd419090e97586a313161d0b041f1312a36051
util/scanner: add UnitTestScanner.num_of_total_failures

In UnitTestScanner's final error message, add total count of failures
before the first error occurance, like "(total x failed) <message>".
Another minor change: add "..." if the failure reason is more than 200 chars.

Signed-off-by: Vallari Agrawal <val.agl002@gmail.com>
teuthology/util/scanner.py
teuthology/util/test/test_scanner.py