From a652a72286b30a8ccb25ce34ff7763a884bef196 Mon Sep 17 00:00:00 2001 From: Weiwei Yang Date: Fri, 21 Jul 2017 15:32:27 +0800 Subject: [PATCH] HDFS-11936. Ozone: TestNodeManager times out before it is able to find all nodes. Contributed by Yuanbo Liu. --- .../java/org/apache/hadoop/ozone/scm/node/TestNodeManager.java | 1 + 1 file changed, 1 insertion(+) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/ozone/scm/node/TestNodeManager.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/ozone/scm/node/TestNodeManager.java index 1e9b57dd465..b483edf79a5 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/ozone/scm/node/TestNodeManager.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/ozone/scm/node/TestNodeManager.java @@ -949,6 +949,7 @@ public class TestNodeManager { public void testScmStatsFromNodeReport() throws IOException, InterruptedException, TimeoutException { OzoneConfiguration conf = getConf(); + conf.setLong(OZONE_SCM_HEARTBEAT_PROCESS_INTERVAL_MS, 1000); final int nodeCount = 10; final long capacity = 2000; final long used = 100;