HDDS-1808. TestRatisPipelineCreateAndDestory times out (#1338)
This commit is contained in:
parent
b67812ea21
commit
f6af7d0fd7
|
@ -39,7 +39,7 @@ import static org.apache.hadoop.hdds.scm.ScmConfigKeys.OZONE_SCM_STALENODE_INTER
|
||||||
/**
|
/**
|
||||||
* Tests for RatisPipelineUtils.
|
* Tests for RatisPipelineUtils.
|
||||||
*/
|
*/
|
||||||
public class TestRatisPipelineCreateAndDestory {
|
public class TestRatisPipelineCreateAndDestroy {
|
||||||
|
|
||||||
private static MiniOzoneCluster cluster;
|
private static MiniOzoneCluster cluster;
|
||||||
private OzoneConfiguration conf = new OzoneConfiguration();
|
private OzoneConfiguration conf = new OzoneConfiguration();
|
||||||
|
@ -63,7 +63,7 @@ public class TestRatisPipelineCreateAndDestory {
|
||||||
cluster.shutdown();
|
cluster.shutdown();
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test(timeout = 30000)
|
@Test(timeout = 180000)
|
||||||
public void testAutomaticPipelineCreationOnPipelineDestroy()
|
public void testAutomaticPipelineCreationOnPipelineDestroy()
|
||||||
throws Exception {
|
throws Exception {
|
||||||
init(6);
|
init(6);
|
||||||
|
@ -79,7 +79,7 @@ public class TestRatisPipelineCreateAndDestory {
|
||||||
waitForPipelines(2);
|
waitForPipelines(2);
|
||||||
}
|
}
|
||||||
|
|
||||||
@Test(timeout = 30000)
|
@Test(timeout = 180000)
|
||||||
public void testPipelineCreationOnNodeRestart() throws Exception {
|
public void testPipelineCreationOnNodeRestart() throws Exception {
|
||||||
conf.setTimeDuration(OZONE_SCM_STALENODE_INTERVAL,
|
conf.setTimeDuration(OZONE_SCM_STALENODE_INTERVAL,
|
||||||
5, TimeUnit.SECONDS);
|
5, TimeUnit.SECONDS);
|
Loading…
Reference in New Issue