hadoop-hdfs-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From t...@apache.org
Subject svn commit: r1143527 - /hadoop/common/branches/HDFS-1073/hdfs/src/test/hdfs/org/apache/hadoop/hdfs/server/namenode/TestCheckpoint.java
Date Wed, 06 Jul 2011 18:49:56 GMT
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



Mime
View raw message