File tree Expand file tree Collapse file tree 1 file changed +4
-2
lines changed
Expand file tree Collapse file tree 1 file changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -161,11 +161,13 @@ def format_same_bin(s: str) -> List[Dict[str, str]]:
161161def record_tests (client , reports ):
162162 client .path_builder = junit5_nested_class_path_builder (client .path_builder )
163163
164- # Override report method to filter out failsafe-summary.xml
164+ # Override report method to filter out non-JUnit report files
165165 original_report = client .report
166166
167+ IGNORED_FILES = {'failsafe-summary.xml' , 'testng-results.xml' }
168+
167169 def report_with_filter (junit_report_file : str ):
168- if not junit_report_file .endswith ('failsafe-summary.xml' ):
170+ if not any ( junit_report_file .endswith (f ) for f in IGNORED_FILES ):
169171 original_report (junit_report_file )
170172
171173 client .report = report_with_filter
You can’t perform that action at this time.
0 commit comments