You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-commits@hadoop.apache.org by ae...@apache.org on 2017/11/28 20:05:28 UTC
hadoop git commit: HDFS-12850. Ozone:
TestContainerPersistence#testListContainer fails frequently due to timed out.
Contributed by Yiqun Lin.
Repository: hadoop
Updated Branches:
refs/heads/HDFS-7240 ffccb1900 -> b72799a51
HDFS-12850. Ozone: TestContainerPersistence#testListContainer fails frequently due to timed out. Contributed by Yiqun Lin.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/b72799a5
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/b72799a5
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/b72799a5
Branch: refs/heads/HDFS-7240
Commit: b72799a510ec956871feacce2931685c0d0b113d
Parents: ffccb19
Author: Anu Engineer <ae...@apache.org>
Authored: Tue Nov 28 11:54:45 2017 -0800
Committer: Anu Engineer <ae...@apache.org>
Committed: Tue Nov 28 11:54:45 2017 -0800
----------------------------------------------------------------------
.../ozone/container/common/impl/TestContainerPersistence.java | 4 ++--
1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------
http://git-wip-us.apache.org/repos/asf/hadoop/blob/b72799a5/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/ozone/container/common/impl/TestContainerPersistence.java
----------------------------------------------------------------------
diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/ozone/container/common/impl/TestContainerPersistence.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/ozone/container/common/impl/TestContainerPersistence.java
index 16f6e68..06d8062 100644
--- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/ozone/container/common/impl/TestContainerPersistence.java
+++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/ozone/container/common/impl/TestContainerPersistence.java
@@ -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.
*
* @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<>();
---------------------------------------------------------------------
To unsubscribe, e-mail: common-commits-unsubscribe@hadoop.apache.org
For additional commands, e-mail: common-commits-help@hadoop.apache.org