HDFS-11936. Ozone: TestNodeManager times out before it is able to find all nodes. Contributed by Yuanbo Liu.

This commit is contained in:
Weiwei Yang 2017-07-21 15:32:27 +08:00 committed by Owen O'Malley
parent bbbfc885e7
commit a652a72286
1 changed files with 1 additions and 0 deletions

View File

@ -949,6 +949,7 @@ public class TestNodeManager {
public void testScmStatsFromNodeReport() throws IOException, public void testScmStatsFromNodeReport() throws IOException,
InterruptedException, TimeoutException { InterruptedException, TimeoutException {
OzoneConfiguration conf = getConf(); OzoneConfiguration conf = getConf();
conf.setLong(OZONE_SCM_HEARTBEAT_PROCESS_INTERVAL_MS, 1000);
final int nodeCount = 10; final int nodeCount = 10;
final long capacity = 2000; final long capacity = 2000;
final long used = 100; final long used = 100;