HDDS-831. TestOzoneShell in integration-test is flaky. Contributed by Nanda kumar.
Project: http://git-wip-us.apache.org/repos/asf/hadoop/repo Commit: http://git-wip-us.apache.org/repos/asf/hadoop/commit/f8713f8a Tree: http://git-wip-us.apache.org/repos/asf/hadoop/tree/f8713f8a Diff: http://git-wip-us.apache.org/repos/asf/hadoop/diff/f8713f8a Branch: refs/heads/HDFS-13891 Commit: f8713f8adea9d69330933a2cde594ed11ed9520c Parents: 4c465f5 Author: Yiqun Lin <yq...@apache.org> Authored: Tue Nov 13 10:38:27 2018 +0800 Committer: Yiqun Lin <yq...@apache.org> Committed: Tue Nov 13 10:38:27 2018 +0800 ---------------------------------------------------------------------- .../test/java/org/apache/hadoop/ozone/ozShell/TestOzoneShell.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/hadoop/blob/f8713f8a/hadoop-ozone/integration-test/src/test/java/org/apache/hadoop/ozone/ozShell/TestOzoneShell.java ---------------------------------------------------------------------- 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 1900024..bd05b92 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"}; --------------------------------------------------------------------- To unsubscribe, e-mail: common-commits-unsubscr...@hadoop.apache.org For additional commands, e-mail: common-commits-h...@hadoop.apache.org