HDFS-13563. TestDFSAdminWithHA times out on Windows. Contributed by Lukas Majercak.
This commit is contained in:
parent
9119b3cf8f
commit
8d4926f38b
@ -97,6 +97,13 @@ private void setUpHaCluster(boolean security) throws Exception {
|
||||
|
||||
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
|
||||
|
Loading…
Reference in New Issue
Block a user