From cec6083055cc0a35f8322370cdd8e3e1392f43ad Mon Sep 17 00:00:00 2001 From: Jason Lowe Date: Tue, 23 Aug 2016 14:51:29 +0000 Subject: [PATCH] HDFS-9745. TestSecureNNWithQJM#testSecureMode sometimes fails with timeouts. Contributed by Xiao Chen (cherry picked from commit 126d165efd80e266a8309241f3cf059e358f5019) --- hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt | 3 +++ .../org/apache/hadoop/hdfs/qjournal/TestSecureNNWithQJM.java | 2 +- 2 files changed, 4 insertions(+), 1 deletion(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt index 7ecd4a30cac..06cb2023d1b 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt +++ b/hadoop-hdfs-project/hadoop-hdfs/CHANGES.txt @@ -23,6 +23,9 @@ Release 2.7.4 - UNRELEASED HDFS-10763. Open files can leak permanently due to inconsistent lease update (kihwal) + HDFS-9745. TestSecureNNWithQJM#testSecureMode sometimes fails with + timeouts (Xiao Chen via jlowe) + Release 2.7.3 - UNRELEASED INCOMPATIBLE CHANGES diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/qjournal/TestSecureNNWithQJM.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/qjournal/TestSecureNNWithQJM.java index 1da92a18da9..bb8608411f7 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/qjournal/TestSecureNNWithQJM.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/qjournal/TestSecureNNWithQJM.java @@ -76,7 +76,7 @@ public class TestSecureNNWithQJM { private MiniJournalCluster mjc; @Rule - public Timeout timeout = new Timeout(30000); + public Timeout timeout = new Timeout(180000); @BeforeClass public static void init() throws Exception {