Repository: hadoop
Updated Branches:
  refs/heads/HDFS-7240 63e211ff7 -> c53909520


HDFS-12167. Ozone: Intermittent failure TestContainerPersistence#testListKey. 
Contributed by Surendra Singh Lilhore.


Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo
Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/c5390952
Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/c5390952
Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/c5390952

Branch: refs/heads/HDFS-7240
Commit: c539095200142b1c448c06584f757be0a335bee6
Parents: 63e211f
Author: Weiwei Yang <[email protected]>
Authored: Sat Jul 22 22:02:35 2017 +0800
Committer: Weiwei Yang <[email protected]>
Committed: Sat Jul 22 22:02:35 2017 +0800

----------------------------------------------------------------------
 .../ozone/container/common/impl/TestContainerPersistence.java      | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/hadoop/blob/c5390952/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 b33ee86..6282894 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
@@ -816,7 +816,7 @@ public class TestContainerPersistence {
 
   @Test
   public void testListKey() throws Exception {
-    String containerName = "c0" + RandomStringUtils.randomAscii(10);
+    String containerName = "c0" + RandomStringUtils.randomAlphanumeric(10);
     Pipeline pipeline = createSingleNodePipeline(containerName);
     List<String> expectedKeys = new ArrayList<String>();
     for (int i = 0; i < 10; i++) {


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to