You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues-all@impala.apache.org by "ASF subversion and git services (Jira)" <ji...@apache.org> on 2026/02/26 00:59:00 UTC

[jira] [Commented] (IMPALA-14785) Set junit_log_passing_tests = False to reduce the size of JUnitXML

    [ https://issues.apache.org/jira/browse/IMPALA-14785?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18061240#comment-18061240 ] 

ASF subversion and git services commented on IMPALA-14785:
----------------------------------------------------------

Commit cab3e30ecb3fadbdfe822d7542631e4adb7cd430 in impala's branch refs/heads/master from Joe McDonnell
[ https://gitbox.apache.org/repos/asf?p=impala.git;h=cab3e30ec ]

IMPALA-14785: Reduce size of JUnitXML by skipping logs for passing tests

Currently, the JUnitXML contains the logs even for passing tests.
The pytest "junit_log_passing_tests = False" option can turn that
off so that JUnitXML only includes logs for skipped/xfailed/failed
tests. This sets that option to reduce the size of the JUnitXML.

Testing:
 - Ran some end to end tests locally and verified that the passing
   tests didn't have logs and failed/etc tests had logs

Change-Id: I225a3cab98f37cd87f23492c825ac2ebad53825c
Reviewed-on: http://gerrit.cloudera.org:8080/24036
Reviewed-by: Michael Smith <mi...@cloudera.com>
Tested-by: Michael Smith <mi...@cloudera.com>


> Set junit_log_passing_tests = False to reduce the size of JUnitXML
> ------------------------------------------------------------------
>
>                 Key: IMPALA-14785
>                 URL: https://issues.apache.org/jira/browse/IMPALA-14785
>             Project: IMPALA
>          Issue Type: Task
>          Components: Infrastructure
>    Affects Versions: Impala 5.0.0
>            Reporter: Joe McDonnell
>            Assignee: Joe McDonnell
>            Priority: Major
>
> Our pytests produce JUnitXML and right now that contains all the logs from every test. There is a pytest option "junit_log_passing_tests" that can avoid retaining logs for passing tests. This would reduce the size of the JUnitXML and make it easier for Jenkins plugins to process it.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-all-unsubscribe@impala.apache.org
For additional commands, e-mail: issues-all-help@impala.apache.org