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
1 changed files with 2 additions and 2 deletions

View File

@ -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<>();