hadoop-common-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From inigo...@apache.org
Subject [35/66] [abbrv] hadoop git commit: HDFS-13563. TestDFSAdminWithHA times out on Windows. Contributed by Lukas Majercak.
Date Wed, 20 Jun 2018 19:15:39 GMT
HDFS-13563. TestDFSAdminWithHA times out on Windows. Contributed by Lukas Majercak.


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

Branch: refs/heads/HDFS-13532
Commit: 8d4926f38bf53b32453cd2bc7322c8818f752f85
Parents: 9119b3c
Author: Inigo Goiri <inigoiri@apache.org>
Authored: Thu Jun 14 09:58:50 2018 -0700
Committer: Inigo Goiri <inigoiri@apache.org>
Committed: Thu Jun 14 09:58:50 2018 -0700

----------------------------------------------------------------------
 .../java/org/apache/hadoop/hdfs/tools/TestDFSAdminWithHA.java | 7 +++++++
 1 file changed, 7 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/8d4926f3/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/tools/TestDFSAdminWithHA.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/tools/TestDFSAdminWithHA.java
b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/tools/TestDFSAdminWithHA.java
index aa4d481..c6139c1 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/tools/TestDFSAdminWithHA.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/hdfs/tools/TestDFSAdminWithHA.java
@@ -97,6 +97,13 @@ public class TestDFSAdminWithHA {
 
     System.setOut(new PrintStream(out));
     System.setErr(new PrintStream(err));
+
+    // Reduce the number of retries to speed up the tests.
+    conf.setInt(
+        CommonConfigurationKeysPublic.IPC_CLIENT_CONNECT_MAX_RETRIES_KEY, 3);
+    conf.setInt(
+        CommonConfigurationKeysPublic.IPC_CLIENT_CONNECT_RETRY_INTERVAL_KEY,
+        500);
   }
 
   @After


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


Mime
View raw message