소스 검색

HDDS-831. TestOzoneShell in integration-test is flaky. Contributed by Nanda kumar.

Yiqun Lin 6 년 전
부모
커밋
f8713f8ade
1개의 변경된 파일1개의 추가작업 그리고 1개의 파일을 삭제
  1. 1 1
      hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/ozShell/TestOzoneShell.java

+ 1 - 1
hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/ozShell/TestOzoneShell.java

@@ -266,7 +266,7 @@ public class TestOzoneShell {
    */
   @Test
   public void testCreateVolumeWithoutUser() throws Exception {
-    String volumeName = "volume" + RandomStringUtils.randomNumeric(1);
+    String volumeName = "volume" + RandomStringUtils.randomNumeric(5);
     String[] args = new String[] {"volume", "create", url + "/" + volumeName,
         "--root"};