HDFS-12850. Ozone: TestContainerPersistence#testListContainer fails frequently due to timed out. Contributed by Yiqun Lin.
This commit is contained in:
parent
e32e187448
commit
538e17824d
|
@ -322,14 +322,14 @@ public class TestContainerPersistence {
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* This test creates 1000 containers and reads them back 5 containers at a
|
* This test creates 50 containers and reads them back 5 containers at a
|
||||||
* time and verifies that we did get back all containers.
|
* time and verifies that we did get back all containers.
|
||||||
*
|
*
|
||||||
* @throws IOException
|
* @throws IOException
|
||||||
*/
|
*/
|
||||||
@Test
|
@Test
|
||||||
public void testListContainer() throws IOException {
|
public void testListContainer() throws IOException {
|
||||||
final int count = 1000;
|
final int count = 50;
|
||||||
final int step = 5;
|
final int step = 5;
|
||||||
|
|
||||||
Map<String, ContainerData> testMap = new HashMap<>();
|
Map<String, ContainerData> testMap = new HashMap<>();
|
||||||
|
|
Loading…
Reference in New Issue