HADOOP-7261. Disable IPV6 for junit tests. Contributed by Suresh Srinivas.

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1100278 13f79535-47bb-0310-9956-ffa450edef68
This commit is contained in:
Suresh Srinivas 2011-05-06 16:45:40 +00:00
parent 827401a9b1
commit 8c4a0a529e
3 changed files with 4 additions and 1 deletions

View File

@ -174,6 +174,8 @@ Trunk (unreleased changes)
HADOOP-7231. Fix synopsis for -count. (Daryn Sharp via eli). HADOOP-7231. Fix synopsis for -count. (Daryn Sharp via eli).
HADOOP-7261. Disable IPV6 for junit tests. (suresh)
Release 0.22.0 - Unreleased Release 0.22.0 - Unreleased
INCOMPATIBLE CHANGES INCOMPATIBLE CHANGES

View File

@ -742,6 +742,7 @@
errorProperty="tests.failed" errorProperty="tests.failed"
failureProperty="tests.failed"> failureProperty="tests.failed">
<jvmarg value="-ea" /> <jvmarg value="-ea" />
<sysproperty key="java.net.preferIPv4Stack" value="true"/>
<sysproperty key="test.build.data" value="${test.build.data}" /> <sysproperty key="test.build.data" value="${test.build.data}" />
<sysproperty key="test.cache.data" value="${test.cache.data}" /> <sysproperty key="test.cache.data" value="${test.cache.data}" />
<sysproperty key="test.debug.data" value="${test.debug.data}" /> <sysproperty key="test.debug.data" value="${test.debug.data}" />

View File

@ -232,7 +232,7 @@
classpath to use build/contrib/*.jar classpath to use build/contrib/*.jar
--> -->
<sysproperty key="user.dir" value="${build.test}/data"/> <sysproperty key="user.dir" value="${build.test}/data"/>
<sysproperty key="java.net.preferIPv4Stack" value="true"/>
<sysproperty key="fs.default.name" value="${fs.default.name}"/> <sysproperty key="fs.default.name" value="${fs.default.name}"/>
<sysproperty key="hadoop.test.localoutputfile" value="${hadoop.test.localoutputfile}"/> <sysproperty key="hadoop.test.localoutputfile" value="${hadoop.test.localoutputfile}"/>
<sysproperty key="hadoop.log.dir" value="${hadoop.log.dir}"/> <sysproperty key="hadoop.log.dir" value="${hadoop.log.dir}"/>