From 36757ad6a91b04221b2bf0f77e9dff701c186b2f Mon Sep 17 00:00:00 2001 From: S O'Donnell Date: Thu, 6 Jun 2019 15:57:40 +0200 Subject: [PATCH] HDDS-1645. Change the version of Pico CLI to the latest 3.x release - 3.9.6 Closes #909 --- hadoop-hdds/pom.xml | 2 +- .../java/org/apache/hadoop/ozone/ozShell/TestOzoneShell.java | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/hadoop-hdds/pom.xml b/hadoop-hdds/pom.xml index 581dce04c23..0e87c2cc8db 100644 --- a/hadoop-hdds/pom.xml +++ b/hadoop-hdds/pom.xml @@ -239,7 +239,7 @@ https://maven.apache.org/xsd/maven-4.0.0.xsd"> info.picocli picocli - 3.5.2 + 3.9.6 com.google.protobuf 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 9c68ab1cec7..93a001977ac 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 @@ -631,7 +631,8 @@ public class TestOzoneShell { err.reset(); args = new String[] {"volume", "list", url + "/", "--user", user2, "--length", "invalid-length"}; - executeWithError(shell, args, "For input string: \"invalid-length\""); + executeWithError(shell, args, "Invalid value for option " + + "'--length': 'invalid-length' is not an int"); } @Test