Просмотр исходного кода

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.


git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/HDFS-1073@1143527 13f79535-47bb-0310-9956-ffa450edef68
Todd Lipcon 14 лет назад
Родитель
Сommit
b3f5e4534f

+ 1 - 1
hdfs/src/test/hdfs/org/apache/hadoop/hdfs/server/namenode/TestCheckpoint.java

@@ -1567,7 +1567,7 @@ public class TestCheckpoint extends TestCase {
         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