From c9a1d4dc3341511e24d1273c9f20783ff847e037 Mon Sep 17 00:00:00 2001 From: Eli Collins Date: Wed, 10 Oct 2012 18:42:54 +0000 Subject: [PATCH] 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 --- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 2 ++ .../hdfs/server/blockmanagement/TestRBWBlockInvalidation.java | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 5914017fb8a..27b6b7fd4e5 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -314,6 +314,8 @@ Release 2.0.3-alpha - Unreleased HDFS-4018. testMiniDFSClusterWithMultipleNN is missing some cluster cleanup. (eli) + HDFS-4020. TestRBWBlockInvalidation may time out. (eli) + Release 2.0.2-alpha - 2012-09-07 INCOMPATIBLE CHANGES diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestRBWBlockInvalidation.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestRBWBlockInvalidation.java index 8c8674dbeba..c07fae4773b 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/server/blockmanagement/TestRBWBlockInvalidation.java +++ b/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 * schedule replication for one more replica for that under replicated block. */ - @Test + @Test(timeout=60000) public void testBlockInvalidationWhenRBWReplicaMissedInDN() throws IOException, InterruptedException { Configuration conf = new HdfsConfiguration();