You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by sz...@apache.org on 2012/11/14 04:09:57 UTC
svn commit: r1409070 - in /hadoop/common/branches/branch-1: CHANGES.txt
src/test/org/apache/hadoop/hdfs/TestFileCreation.java
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;
}