HDFS-12850. Ozone: TestContainerPersistence#testListContainer fails frequently due to timed out. Contributed by Yiqun Lin.

This commit is contained in:
Anu Engineer 2017-11-28 11:54:45 -08:00 committed by Owen O'Malley
parent e32e187448
commit 538e17824d

View File

@ -322,14 +322,14 @@ public void testGetContainerReports() throws Exception{
}
/**
* 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.
*
* @throws IOException
*/
@Test
public void testListContainer() throws IOException {
final int count = 1000;
final int count = 50;
final int step = 5;
Map<String, ContainerData> testMap = new HashMap<>();