From 867135af28af5065db0f8f73707efa3c7672da73 Mon Sep 17 00:00:00 2001 From: Xiaoyu Yao Date: Wed, 21 Mar 2018 13:53:35 -0700 Subject: [PATCH] HDFS-11043. TestWebHdfsTimeouts fails. Contributed by Xiaoyu Yao and Chao Sun. --- .../org/apache/hadoop/hdfs/web/TestWebHdfsTimeouts.java | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsTimeouts.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsTimeouts.java index 67c39e10a10..47438217ada 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsTimeouts.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsTimeouts.java @@ -66,10 +66,10 @@ public class TestWebHdfsTimeouts { private static final Log LOG = LogFactory.getLog(TestWebHdfsTimeouts.class); - private static final int CLIENTS_TO_CONSUME_BACKLOG = 100; + private static final int CLIENTS_TO_CONSUME_BACKLOG = 129; private static final int CONNECTION_BACKLOG = 1; - private static final int SHORT_SOCKET_TIMEOUT = 5; - private static final int TEST_TIMEOUT = 10000; + private static final int SHORT_SOCKET_TIMEOUT = 200; + private static final int TEST_TIMEOUT = 100000; private List clients; private WebHdfsFileSystem fs;