From 70e7ec1f47f65dadbaa29af9a46eeeca9ba37498 Mon Sep 17 00:00:00 2001 From: Eli Collins Date: Wed, 10 Oct 2012 18:43:13 +0000 Subject: [PATCH] HDFS-4020. TestRBWBlockInvalidation may time out. Contributed by Eli Collins git-svn-id: https://svn.apache.org/repos/asf/hadoop/common/branches/branch-2@1396727 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 0e33c77e152..8e4cf22cc0b 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -86,6 +86,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();