HDDS-1808. TestRatisPipelineCreateAndDestory times out (#1338)

This commit is contained in:
Doroszlai, Attila 2019-08-23 02:55:42 +02:00 committed by Bharat Viswanadham
parent b67812ea21
commit f6af7d0fd7

View File

@ -39,7 +39,7 @@
/**
* Tests for RatisPipelineUtils.
*/
public class TestRatisPipelineCreateAndDestory {
public class TestRatisPipelineCreateAndDestroy {
private static MiniOzoneCluster cluster;
private OzoneConfiguration conf = new OzoneConfiguration();
@ -63,7 +63,7 @@ public void cleanup() {
cluster.shutdown();
}
@Test(timeout = 30000)
@Test(timeout = 180000)
public void testAutomaticPipelineCreationOnPipelineDestroy()
throws Exception {
init(6);
@ -79,7 +79,7 @@ public void testAutomaticPipelineCreationOnPipelineDestroy()
waitForPipelines(2);
}
@Test(timeout = 30000)
@Test(timeout = 180000)
public void testPipelineCreationOnNodeRestart() throws Exception {
conf.setTimeDuration(OZONE_SCM_STALENODE_INTERVAL,
5, TimeUnit.SECONDS);