From 895391e2c52eadd071997eacaaf7bb2f2af8be30 Mon Sep 17 00:00:00 2001 From: Michael Smith Date: Thu, 25 Sep 2025 16:55:48 -0700 Subject: [PATCH] HADOOP-19707: Add quiet-surefire profile for tests Adds the `quiet-surefire` profile to set enableOutErrElements=false for maven-surefire-plugin. This restores the behavior prior to Surefire 3.3 that stdout/stderr are not included in the TEST-..xml file for passing tests. The newer default behavior results in much larger TEST-*.xml files that can be a problem for CI tools processing them. --- hadoop-project/pom.xml | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) diff --git a/hadoop-project/pom.xml b/hadoop-project/pom.xml index f0086331bd36e..0b2f1eb73a5cf 100644 --- a/hadoop-project/pom.xml +++ b/hadoop-project/pom.xml @@ -2773,6 +2773,23 @@ ${javac.version} + + quiet-surefire + + false + + + + + org.apache.maven.plugins + maven-surefire-plugin + + false + + + + +