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

alexey pushed a commit to branch branch-1.18.x
in repository https://gitbox.apache.org/repos/asf/kudu.git


The following commit(s) were added to refs/heads/branch-1.18.x by this push:
     new 3b0add539 [java] mention the -DshowTestOutput flag in README
3b0add539 is described below

commit 3b0add5399bd718de95eae6b7a66d8eecb026253
Author: Alexey Serbin <[email protected]>
AuthorDate: Fri Oct 31 18:41:53 2025 -0700

    [java] mention the -DshowTestOutput flag in README
    
    The `showTestOutput` option [1] is a shortcut to change the default
    behavior of storing the logs when running the Gradle's 'test' task.
    
    This changelist mentions it in the README.adoc file, so now it's easier
    to find when necessary.
    
    [1] https://github.com/apache/kudu/commit/7cdc9f7c7
    
    Change-Id: I40d95279cb28729015aef837e99d0693a9114741
    Reviewed-on: http://gerrit.cloudera.org:8080/23617
    Tested-by: Kudu Jenkins
    Reviewed-by: Abhishek Chennaka <[email protected]>
    (cherry picked from commit b0c0059aecea5a977a7490a65b7d0840ed5bed76)
    Reviewed-on: http://gerrit.cloudera.org:8080/23663
---
 java/README.adoc | 9 +++++++++
 1 file changed, 9 insertions(+)

diff --git a/java/README.adoc b/java/README.adoc
index d5eda43b4..6700947b1 100644
--- a/java/README.adoc
+++ b/java/README.adoc
@@ -102,6 +102,15 @@ Pattern Example:
 $ ./gradlew test --tests *IT*
 ----
 
+If it's desirable to manipulate the log stream produced by a test (e.g.,
+redirecting the log stream into a file while teeing into the stdout as well),
+add the `-DshowTestOutput` flag:
+
+[source,bash]
+----
+$ ./gradlew -DshowTestOutput :kudu-client:test
+----
+
 == Additional Gradle Commands
 
 === Discovering Other Gradle Tasks

Reply via email to