Browse Source

HDFS-4020. TestRBWBlockInvalidation may time out. Contributed by Eli Collins

git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/trunk@1396725 13f79535-47bb-0310-9956-ffa450edef68
Eli Collins 12 years ago
parent
commit
c9a1d4dc33

+ 2 - 0
hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt

@@ -314,6 +314,8 @@ Release 2.0.3-alpha - Unreleased
     HDFS-4018. testMiniDFSClusterWithMultipleNN is missing some
     HDFS-4018. testMiniDFSClusterWithMultipleNN is missing some
     cluster cleanup. (eli)
     cluster cleanup. (eli)
 
 
+    HDFS-4020. TestRBWBlockInvalidation may time out. (eli)
+
 Release 2.0.2-alpha - 2012-09-07 
 Release 2.0.2-alpha - 2012-09-07 
 
 
   INCOMPATIBLE CHANGES
   INCOMPATIBLE CHANGES

+ 1 - 1
hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestRBWBlockInvalidation.java

@@ -53,7 +53,7 @@ public class TestRBWBlockInvalidation {
    * datanode, namenode should ask to invalidate that corrupted block and
    * datanode, namenode should ask to invalidate that corrupted block and
    * schedule replication for one more replica for that under replicated block.
    * schedule replication for one more replica for that under replicated block.
    */
    */
-  @Test
+  @Test(timeout=60000)
   public void testBlockInvalidationWhenRBWReplicaMissedInDN()
   public void testBlockInvalidationWhenRBWReplicaMissedInDN()
       throws IOException, InterruptedException {
       throws IOException, InterruptedException {
     Configuration conf = new HdfsConfiguration();
     Configuration conf = new HdfsConfiguration();