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

michaelsmith pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/impala.git

commit cab3e30ecb3fadbdfe822d7542631e4adb7cd430
Author: Joe McDonnell <[email protected]>
AuthorDate: Wed Feb 25 10:24:38 2026 -0800

    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 <[email protected]>
    Tested-by: Michael Smith <[email protected]>
---
 tests/pytest.ini | 1 +
 1 file changed, 1 insertion(+)

diff --git a/tests/pytest.ini b/tests/pytest.ini
index d16434849..56dc9f7cf 100644
--- a/tests/pytest.ini
+++ b/tests/pytest.ini
@@ -1,6 +1,7 @@
 [pytest]
 addopts = -r xfE -v --tb=short --showlocals -Wonce
 junit_logging = system-err
+junit_log_passing_tests = False
 markers =
     execute_serially: tests that must not be executed in parallel
     stress: stress tests running multiple clients with the test_index 
parameter, will be run independent of other tests

Reply via email to