kudu-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mpe...@apache.org
Subject [1/5] kudu git commit: [test] Break up test output per test case.
Date Fri, 07 Dec 2018 03:47:50 GMT
Repository: kudu
Updated Branches:
  refs/heads/master 94b066bb3 -> ae5eeedba


[test] Break up test output per test case.

Currently, when generating the JUnit XML for each
test suite Gradle appends all of the test output to
stderr and stdout at the suite level. This
change ensures Gradle will break up the output
by each test case instead.

Change-Id: If7564e48cddc7bf7ea7595d925f605802259dced
Reviewed-on: http://gerrit.cloudera.org:8080/12031
Tested-by: Kudu Jenkins
Reviewed-by: Adar Dembo <adar@cloudera.com>
Reviewed-by: Will Berkeley <wdberkeley@gmail.com>


Project: http://git-wip-us.apache.org/repos/asf/kudu/repo
Commit: http://git-wip-us.apache.org/repos/asf/kudu/commit/0008990b
Tree: http://git-wip-us.apache.org/repos/asf/kudu/tree/0008990b
Diff: http://git-wip-us.apache.org/repos/asf/kudu/diff/0008990b

Branch: refs/heads/master
Commit: 0008990b6591d8859c5a3ef60f120a5afc7c4406
Parents: 94b066b
Author: Grant Henke <granthenke@apache.org>
Authored: Tue Dec 4 14:29:51 2018 -0600
Committer: Grant Henke <granthenke@apache.org>
Committed: Thu Dec 6 19:07:50 2018 +0000

----------------------------------------------------------------------
 java/gradle/tests.gradle | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/kudu/blob/0008990b/java/gradle/tests.gradle
----------------------------------------------------------------------
diff --git a/java/gradle/tests.gradle b/java/gradle/tests.gradle
index c5110fb..9c51858 100644
--- a/java/gradle/tests.gradle
+++ b/java/gradle/tests.gradle
@@ -29,6 +29,9 @@ tasks.withType(Test) {
     exceptionFormat = "full"
   }
 
+  // Break up the stdout and stderr logging by test case.
+  reports.junitXml.outputPerTestCase = true
+
   // Fork the jvm for every test class.
   // This takes more time and resources but ensures isolation.
   forkEvery 1


Mime
View raw message