HDFS-16046. TestBalancerProcedureScheduler and TestDistCpProcedure timeouts. (#3060)
Reviewed-by: Ayush Saxena <ayushsaxena@apache.org>
This commit is contained in:
parent
d5ad181684
commit
9983ab8a99
|
@ -98,7 +98,7 @@ public class TestDistCpProcedure {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test(timeout = 30000)
|
@Test(timeout = 90000)
|
||||||
public void testSuccessfulDistCpProcedure() throws Exception {
|
public void testSuccessfulDistCpProcedure() throws Exception {
|
||||||
String testRoot = nnUri + "/user/foo/testdir." + getMethodName();
|
String testRoot = nnUri + "/user/foo/testdir." + getMethodName();
|
||||||
DistributedFileSystem fs =
|
DistributedFileSystem fs =
|
||||||
|
|
|
@ -305,7 +305,7 @@ public class TestBalanceProcedureScheduler {
|
||||||
/**
|
/**
|
||||||
* Test scheduler crashes and recovers.
|
* Test scheduler crashes and recovers.
|
||||||
*/
|
*/
|
||||||
@Test(timeout = 60000)
|
@Test(timeout = 180000)
|
||||||
public void testSchedulerDownAndRecoverJob() throws Exception {
|
public void testSchedulerDownAndRecoverJob() throws Exception {
|
||||||
BalanceProcedureScheduler scheduler = new BalanceProcedureScheduler(CONF);
|
BalanceProcedureScheduler scheduler = new BalanceProcedureScheduler(CONF);
|
||||||
scheduler.init(true);
|
scheduler.init(true);
|
||||||
|
|
Loading…
Reference in New Issue