HDFS-16046. TestBalancerProcedureScheduler and TestDistCpProcedure timeouts. (#3060)

Reviewed-by: Ayush Saxena <ayushsaxena@apache.org>
This commit is contained in:
Akira Ajisaka 2021-05-29 23:04:48 +09:00 committed by GitHub
parent d5ad181684
commit 9983ab8a99
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 2 additions and 2 deletions

View File

@ -98,7 +98,7 @@ public class TestDistCpProcedure {
}
}
@Test(timeout = 30000)
@Test(timeout = 90000)
public void testSuccessfulDistCpProcedure() throws Exception {
String testRoot = nnUri + "/user/foo/testdir." + getMethodName();
DistributedFileSystem fs =

View File

@ -305,7 +305,7 @@ public class TestBalanceProcedureScheduler {
/**
* Test scheduler crashes and recovers.
*/
@Test(timeout = 60000)
@Test(timeout = 180000)
public void testSchedulerDownAndRecoverJob() throws Exception {
BalanceProcedureScheduler scheduler = new BalanceProcedureScheduler(CONF);
scheduler.init(true);