You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@maven.apache.org by ti...@apache.org on 2020/06/12 20:45:10 UTC
[maven-surefire] branch macos updated: printing properties
This is an automated email from the ASF dual-hosted git repository.
tibordigana pushed a commit to branch macos
in repository https://gitbox.apache.org/repos/asf/maven-surefire.git
The following commit(s) were added to refs/heads/macos by this push:
new 423c8eb printing properties
423c8eb is described below
commit 423c8ebe065a3b5a30316cb240028562e546b1b4
Author: tibordigana <ti...@apache.org>
AuthorDate: Fri Jun 12 22:44:58 2020 +0200
printing properties
---
surefire-logger-api/pom.xml | 2 +-
.../apache/maven/plugin/surefire/log/api/ConsoleLoggerUtilsTest.java | 3 +++
2 files changed, 4 insertions(+), 1 deletion(-)
diff --git a/surefire-logger-api/pom.xml b/surefire-logger-api/pom.xml
index 53738ea..584e40b 100644
--- a/surefire-logger-api/pom.xml
+++ b/surefire-logger-api/pom.xml
@@ -80,7 +80,7 @@
<configuration>
<!-- <useFile>true</useFile>-->
<redirectTestOutputToFile>false</redirectTestOutputToFile>
- <argLine>-Djava.net.preferIPv4Stack=true</argLine>
+<!-- <argLine>-Djava.net.preferIPv4Stack=true</argLine>-->
<includes>
<include>ConsoleLoggerUtilsTest</include>
</includes>
diff --git a/surefire-logger-api/src/test/java/org/apache/maven/plugin/surefire/log/api/ConsoleLoggerUtilsTest.java b/surefire-logger-api/src/test/java/org/apache/maven/plugin/surefire/log/api/ConsoleLoggerUtilsTest.java
index 04d9a7a..47a6c91 100644
--- a/surefire-logger-api/src/test/java/org/apache/maven/plugin/surefire/log/api/ConsoleLoggerUtilsTest.java
+++ b/surefire-logger-api/src/test/java/org/apache/maven/plugin/surefire/log/api/ConsoleLoggerUtilsTest.java
@@ -39,6 +39,9 @@ public class ConsoleLoggerUtilsTest
@Test
public void testMacOS() throws Exception
{
+ System.out.println( "java.net.preferIPv4Stack = " + System.getProperty( "java.net.preferIPv4Stack" ) );
+ System.out.println( "JAVA_OPTS = " + System.getenv( "JAVA_OPTS" ) );
+ System.out.println( "MAVEN_OPTS = " + System.getenv( "MAVEN_OPTS" ) );
System.out.println( "localhost: " + InetAddress.getLocalHost() );
Enumeration<NetworkInterface> nets = NetworkInterface.getNetworkInterfaces();
while ( nets.hasMoreElements() )