HDFS-11043. TestWebHdfsTimeouts fails. Contributed by Xiaoyu Yao and Chao Sun.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/867135af
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/867135af
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/867135af

Branch: refs/heads/branch-3.1
Commit: 867135af28af5065db0f8f73707efa3c7672da73
Parents: 56acbe4
Author: Xiaoyu Yao <x...@apache.org>
Authored: Wed Mar 21 13:53:35 2018 -0700
Committer: Arpit Agarwal <a...@apache.org>
Committed: Fri Apr 13 10:14:47 2018 -0700

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hdfs/web/TestWebHdfsTimeouts.java   | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/867135af/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/web/TestWebHdfsTimeouts.java
----------------------------------------------------------------------
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 67c39e1..4743821 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<SocketChannel> clients;
   private WebHdfsFileSystem fs;


---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org
For additional commands, e-mail: common-commits-h...@hadoop.apache.org

Reply via email to