hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From szets...@apache.org
Subject svn commit: r1409070 - in /hadoop/common/branches/branch-1: CHANGES.txt src/test/org/apache/hadoop/hdfs/TestFileCreation.java
Date Wed, 14 Nov 2012 03:09:57 GMT
Author: szetszwo
Date: Wed Nov 14 03:09:56 2012
New Revision: 1409070

URL: http://svn.apache.org/viewvc?rev=1409070&view=rev
Log:
HDFS-4180. Update TestFileCreation for HDFS-4122.  Contributed by Jing Zhao

Modified:
    hadoop/common/branches/branch-1/CHANGES.txt
    hadoop/common/branches/branch-1/src/test/org/apache/hadoop/hdfs/TestFileCreation.java

Modified: hadoop/common/branches/branch-1/CHANGES.txt
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1/CHANGES.txt?rev=1409070&r1=1409069&r2=1409070&view=diff
==============================================================================
--- hadoop/common/branches/branch-1/CHANGES.txt (original)
+++ hadoop/common/branches/branch-1/CHANGES.txt Wed Nov 14 03:09:56 2012
@@ -307,6 +307,8 @@ Release 1.2.0 - unreleased
     HADOOP-8963. CopyFromLocal doesn't always create user directory.
     (Arpit Gupta via suresh)
 
+    HDFS-4180. Update TestFileCreation for HDFS-4122.  (Jing Zhao via szetszwo)
+
 Release 1.1.1 - Unreleased
 
   INCOMPATIBLE CHANGES

Modified: hadoop/common/branches/branch-1/src/test/org/apache/hadoop/hdfs/TestFileCreation.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/branch-1/src/test/org/apache/hadoop/hdfs/TestFileCreation.java?rev=1409070&r1=1409069&r2=1409070&view=diff
==============================================================================
--- hadoop/common/branches/branch-1/src/test/org/apache/hadoop/hdfs/TestFileCreation.java
(original)
+++ hadoop/common/branches/branch-1/src/test/org/apache/hadoop/hdfs/TestFileCreation.java
Wed Nov 14 03:09:56 2012
@@ -250,7 +250,7 @@ public class TestFileCreation {
         fs.close();
         assertTrue("Did not prevent directory from being overwritten.", false);
       } catch (IOException ie) {
-        if (!ie.getMessage().contains("already exists as a directory."))
+        if (!ie.getMessage().contains("already exists as a directory"))
           throw ie;
       }
       



Mime
View raw message