Alexey Serbin has submitted this change and it was merged. ( http://gerrit.cloudera.org:8080/17479 )
Change subject: [java] a property to show output while running a test ...................................................................... [java] a property to show output while running a test While working on non-trivial and relatively long running test scenarios, I found it's inconvenient that the test output isn't shown while a test scenario is running. This patch introduces a new command-line property 'showTestOutput' to direct gradle outputting stdout and stderr from the JVM on the console, so it's possible to do the standard stream redirection and other stream manipulation in a command line shell. An example of running a particular test scenario with the output redirected to the console: ./gradlew -DshowTestOutput cleanTest :kudu-client:test --test ... By default the property isn't set, so this patch preserves the original behavior w.r.t. the output of running Java tests. Change-Id: I82590957004eef427a19f36a32e903012ea220d4 Reviewed-on: http://gerrit.cloudera.org:8080/17479 Tested-by: Kudu Jenkins Reviewed-by: Bankim Bhavsar <[email protected]> Reviewed-by: Andrew Wong <[email protected]> --- M java/gradle/tests.gradle 1 file changed, 4 insertions(+), 0 deletions(-) Approvals: Kudu Jenkins: Verified Bankim Bhavsar: Looks good to me, but someone else must approve Andrew Wong: Looks good to me, approved -- To view, visit http://gerrit.cloudera.org:8080/17479 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-Project: kudu Gerrit-Branch: master Gerrit-MessageType: merged Gerrit-Change-Id: I82590957004eef427a19f36a32e903012ea220d4 Gerrit-Change-Number: 17479 Gerrit-PatchSet: 3 Gerrit-Owner: Alexey Serbin <[email protected]> Gerrit-Reviewer: Alexey Serbin <[email protected]> Gerrit-Reviewer: Andrew Wong <[email protected]> Gerrit-Reviewer: Bankim Bhavsar <[email protected]> Gerrit-Reviewer: Grant Henke <[email protected]> Gerrit-Reviewer: Kudu Jenkins (120)
