HDFS-12347. TestBalancerRPCDelay#testBalancerRPCDelay fails very frequently. Contributed by Bharat Viswanadham
This commit is contained in:
parent
c7a4dda3c5
commit
c7499f2d24
@ -2084,7 +2084,7 @@ void testBalancerRPCDelay() throws Exception {
|
|||||||
initConf(conf);
|
initConf(conf);
|
||||||
conf.setInt(DFSConfigKeys.DFS_BALANCER_DISPATCHERTHREADS_KEY, 30);
|
conf.setInt(DFSConfigKeys.DFS_BALANCER_DISPATCHERTHREADS_KEY, 30);
|
||||||
|
|
||||||
int numDNs = 40;
|
int numDNs = 20;
|
||||||
long[] capacities = new long[numDNs];
|
long[] capacities = new long[numDNs];
|
||||||
String[] racks = new String[numDNs];
|
String[] racks = new String[numDNs];
|
||||||
for(int i = 0; i < numDNs; i++) {
|
for(int i = 0; i < numDNs; i++) {
|
||||||
|
Loading…
Reference in New Issue
Block a user