You are viewing a plain text version of this content. The canonical link for it is here.
Posted to hdfs-commits@hadoop.apache.org by to...@apache.org on 2011/07/06 20:49:56 UTC
svn commit: r1143527 -
/hadoop/common/branches/HDFS-1073/hdfs/src/test/hdfs/org/apache/hadoop/hdfs/server/namenode/TestCheckpoint.java
Author: todd
Date: Wed Jul 6 18:49:56 2011
New Revision: 1143527
URL: http://svn.apache.org/viewvc?rev=1143527&view=rev
Log:
Fix one of the TestCheckpoint test cases broken by merge.
The exception message in this test case is now different since
HDFS-2011 caused the storage directory to become invalidated at
roll-time instead of at checkpoint time.
Modified:
hadoop/common/branches/HDFS-1073/hdfs/src/test/hdfs/org/apache/hadoop/hdfs/server/namenode/TestCheckpoint.java
Modified: hadoop/common/branches/HDFS-1073/hdfs/src/test/hdfs/org/apache/hadoop/hdfs/server/namenode/TestCheckpoint.java
URL: http://svn.apache.org/viewvc/hadoop/common/branches/HDFS-1073/hdfs/src/test/hdfs/org/apache/hadoop/hdfs/server/namenode/TestCheckpoint.java?rev=1143527&r1=1143526&r2=1143527&view=diff
==============================================================================
--- hadoop/common/branches/HDFS-1073/hdfs/src/test/hdfs/org/apache/hadoop/hdfs/server/namenode/TestCheckpoint.java (original)
+++ hadoop/common/branches/HDFS-1073/hdfs/src/test/hdfs/org/apache/hadoop/hdfs/server/namenode/TestCheckpoint.java Wed Jul 6 18:49:56 2011
@@ -1567,7 +1567,7 @@ public class TestCheckpoint extends Test
fail("Did not fail to checkpoint when there are no valid storage dirs");
} catch (IOException ioe) {
GenericTestUtils.assertExceptionContains(
- "Unable to download to any storage dir", ioe);
+ "No targets in destination storage", ioe);
}
// Restore the good dir