hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a..@apache.org
Subject svn commit: r1438279 - /hadoop/common/branches/HDFS-347/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/unix/TestDomainSocket.java
Date Fri, 25 Jan 2013 00:39:02 GMT
Author: atm
Date: Fri Jan 25 00:39:02 2013
New Revision: 1438279

URL: http://svn.apache.org/viewvc?rev=1438279&view=rev
Log:
HDFS-4438. TestDomainSocket fails when system umask is set to 0002. Contributed by Colin Patrick
McCabe.

Modified:
    hadoop/common/branches/HDFS-347/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/unix/TestDomainSocket.java

Modified: hadoop/common/branches/HDFS-347/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/unix/TestDomainSocket.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/HDFS-347/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/unix/TestDomainSocket.java?rev=1438279&r1=1438278&r2=1438279&view=diff
==============================================================================
--- hadoop/common/branches/HDFS-347/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/unix/TestDomainSocket.java
(original)
+++ hadoop/common/branches/HDFS-347/hadoop-common-project/hadoop-common/src/test/java/org/apache/hadoop/net/unix/TestDomainSocket.java
Fri Jan 25 00:39:02 2013
@@ -646,7 +646,7 @@ public class TestDomainSocket {
    */
   private static void testValidateSocketPath(String str, String prefix)
       throws IOException {
-    int skipComponents = 0;
+    int skipComponents = 1;
     File prefixFile = new File(prefix);
     while (true) {
       prefixFile = prefixFile.getParentFile();



Mime
View raw message