You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by mm...@apache.org on 2018/03/13 17:23:40 UTC
[incubator-pulsar] branch master updated: Allow override of
redirectTestOutput from CLI (#1366)
This is an automated email from the ASF dual-hosted git repository.
mmerli pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/incubator-pulsar.git
The following commit(s) were added to refs/heads/master by this push:
new e5aebce Allow override of redirectTestOutput from CLI (#1366)
e5aebce is described below
commit e5aebce110837a4ff02f9af3bb125f28cb80c309
Author: Ivan Kelly <iv...@apache.org>
AuthorDate: Tue Mar 13 18:23:38 2018 +0100
Allow override of redirectTestOutput from CLI (#1366)
If a maven option is set in the configuration, it's impossible to
override from the commandline. Sometimes, you want to be able to see
the output of a test on the commandline, such as in the case where the
test is hanging. This patch adds a property, so that the default
configuration of redirecting test output to a file can be overridden.
---
pom.xml | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/pom.xml b/pom.xml
index 2472cc1..60eb51f 100644
--- a/pom.xml
+++ b/pom.xml
@@ -113,6 +113,7 @@ flexible messaging model and an intuitive client API.</description>
<properties>
<project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
<project.reporting.outputEncoding>UTF-8</project.reporting.outputEncoding>
+ <redirectTestOutputToFile>true</redirectTestOutputToFile>
<bookkeeper.version>4.7.0-SNAPSHOT</bookkeeper.version>
<zookeeper.version>3.4.10</zookeeper.version>
@@ -806,7 +807,7 @@ flexible messaging model and an intuitive client API.</description>
</argLine>
<reuseForks>false</reuseForks>
<forkCount>1</forkCount>
- <redirectTestOutputToFile>true</redirectTestOutputToFile>
+ <redirectTestOutputToFile>${redirectTestOutputToFile}</redirectTestOutputToFile>
<trimStackTrace>false</trimStackTrace>
</configuration>
</plugin>
--
To stop receiving notification emails like this one, please contact
mmerli@apache.org.