Author: asoldano
Date: 2015-06-17 10:02:19 -0400 (Wed, 17 Jun 2015)
New Revision: 19798
Modified:
stack/cxf/trunk/README
stack/cxf/trunk/modules/testsuite/pom.xml
Log:
[JBWS-3923] Provide option for controlling Surefire console log redirect
Modified: stack/cxf/trunk/README
===================================================================
--- stack/cxf/trunk/README 2015-06-17 12:27:20 UTC (rev 19797)
+++ stack/cxf/trunk/README 2015-06-17 14:02:19 UTC (rev 19798)
@@ -15,6 +15,7 @@
The '-Djboss.bind.address=x.y.w.z' option can be used to have the started
containers bound to the specified network interface address.
The '-Dipv6' option can be used to run the integration testsuite using IPv6
protocol.
The '-Darquillian.deploymentExportPath=target/foo' option can be used to have
Arquillian write the actual test deployments to disk.
+The '-DnoLogRedirect' can be used to prevent Surefire from redirecting console
logs to test output files.
The 'fast' profile can also be used to run tests concurrently; run 'mvn
-Pfast,wildflyXYZ post-integration-test' in such case to trigger test servers'
shutdown and save memory at the end of each testsuite module.
Modified: stack/cxf/trunk/modules/testsuite/pom.xml
===================================================================
--- stack/cxf/trunk/modules/testsuite/pom.xml 2015-06-17 12:27:20 UTC (rev 19797)
+++ stack/cxf/trunk/modules/testsuite/pom.xml 2015-06-17 14:02:19 UTC (rev 19798)
@@ -288,7 +288,6 @@
<skip>true</skip>
<failIfNoTests>false</failIfNoTests>
<runOrder>alphabetical</runOrder>
- <redirectTestOutputToFile>true</redirectTestOutputToFile>
</configuration>
<executions>
<execution>
@@ -525,6 +524,29 @@
</profile>
<!--
+ Name: logRedirect
+ Descr: redirect console logs to file
+ -->
+ <profile>
+ <id>logRedirect</id>
+ <activation>
+ <property>
+ <name>!noLogRedirect</name>
+ </property>
+ </activation>
+ <build>
+ <plugins>
+ <plugin>
+ <artifactId>maven-surefire-plugin</artifactId>
+ <configuration>
+ <redirectTestOutputToFile>true</redirectTestOutputToFile>
+ </configuration>
+ </plugin>
+ </plugins>
+ </build>
+ </profile>
+
+ <!--
Name: fast
Descr: Slightly faster testsuite execution, using 'balanced' surefire
runOrder
-->
Show replies by date