diff --git a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/ozShell/TestOzoneShell.java b/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/ozShell/TestOzoneShell.java index 190002416cd..bd05b929ee9 100644 --- a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/ozShell/TestOzoneShell.java +++ b/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"};