This is an automated email from the ASF dual-hosted git repository.

davidarthur pushed a commit to branch trunk
in repository https://gitbox.apache.org/repos/asf/kafka.git


The following commit(s) were added to refs/heads/trunk by this push:
     new 441a6d0b790 MINOR fix test-catalog generation (#17866)
441a6d0b790 is described below

commit 441a6d0b790f4a17b454caeea7588a6b90fbd9db
Author: David Arthur <[email protected]>
AuthorDate: Tue Nov 19 15:37:41 2024 -0500

    MINOR fix test-catalog generation (#17866)
    
    Fixes another issue introduced in #17725 where the streaming XML parser 
would skip over tests that followed a SKIPPED test. This caused a large number 
of tests to be removed from the test catalog e4a5eb8
    
    Reviewers: Chia-Ping Tsai <[email protected]>
---
 .github/scripts/junit.py | 1 +
 1 file changed, 1 insertion(+)

diff --git a/.github/scripts/junit.py b/.github/scripts/junit.py
index d234a902605..142e6c09076 100644
--- a/.github/scripts/junit.py
+++ b/.github/scripts/junit.py
@@ -159,6 +159,7 @@ def parse_report(workspace_path, report_path, fp) -> 
Iterable[TestSuite]:
                 test_time = float(elem.get("time", 0.0))
                 partial_test_case = partial(TestCase, test_name, class_name, 
test_time)
                 test_case_failed = False
+                test_case_skipped = False
             elif elem.tag == "failure":
                 failure_message = elem.get("message")
                 if failure_message:

Reply via email to