You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@storm.apache.org by pt...@apache.org on 2014/03/12 17:27:27 UTC

[2/4] git commit: Work around ZOOKEEPER-1476 by prefering IPv4 by default.

Work around ZOOKEEPER-1476 by prefering IPv4 by default.


Project: http://git-wip-us.apache.org/repos/asf/incubator-storm/repo
Commit: http://git-wip-us.apache.org/repos/asf/incubator-storm/commit/6c82685c
Tree: http://git-wip-us.apache.org/repos/asf/incubator-storm/tree/6c82685c
Diff: http://git-wip-us.apache.org/repos/asf/incubator-storm/diff/6c82685c

Branch: refs/heads/master
Commit: 6c82685c274c57576d45ab4d4b05ce03a3d2223b
Parents: a63c0d9
Author: Robert (Bobby) Evans <ev...@yahoo-inc.com>
Authored: Fri Feb 28 17:15:37 2014 +0000
Committer: Robert (Bobby) Evans <ev...@yahoo-inc.com>
Committed: Fri Feb 28 17:15:37 2014 +0000

----------------------------------------------------------------------
 pom.xml            | 1 +
 storm-core/pom.xml | 3 +++
 2 files changed, 4 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-storm/blob/6c82685c/pom.xml
----------------------------------------------------------------------
diff --git a/pom.xml b/pom.xml
index c66ee22..eee717e 100644
--- a/pom.xml
+++ b/pom.xml
@@ -146,6 +146,7 @@
 
     <properties>
         <project.build.sourceEncoding>UTF-8</project.build.sourceEncoding>
+        <test.extra.args>-Djava.net.preferIPv4Stack=true</test.extra.args>
 
         <!-- dependency versions -->
         <clojure.version>1.4.0</clojure.version>

http://git-wip-us.apache.org/repos/asf/incubator-storm/blob/6c82685c/storm-core/pom.xml
----------------------------------------------------------------------
diff --git a/storm-core/pom.xml b/storm-core/pom.xml
index 923c68d..3506f15 100644
--- a/storm-core/pom.xml
+++ b/storm-core/pom.xml
@@ -205,6 +205,9 @@
                         <goals>
                             <goal>test-with-junit</goal>
                         </goals>
+                        <configuration>
+                            <vmargs>${test.extra.args}</vmargs>
+                        </configuration>
                     </execution>
                 </executions>
             </plugin>