From 11473b820472ab20e29b2cfd22fdf4c96f1e9a33 Mon Sep 17 00:00:00 2001 From: Nanda kumar Date: Wed, 6 Dec 2017 23:40:47 +0530 Subject: [PATCH] HDFS-12898. Ozone: TestSCMCli#testHelp and TestSCMCli#testNonExistCommand fail consistently. Contributed by Shashikant Banerjee. --- .../src/test/java/org/apache/hadoop/ozone/scm/TestSCMCli.java | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/ozone/scm/TestSCMCli.java b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/ozone/scm/TestSCMCli.java index 0afc8dc969c..d0672478196 100644 --- a/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/ozone/scm/TestSCMCli.java +++ b/hadoop-hdfs-project/hadoop-hdfs/src/test/java/org/apache/hadoop/ozone/scm/TestSCMCli.java @@ -329,7 +329,7 @@ public class TestSCMCli { assertTrue(errContent.toString() .contains("Unrecognized options:[-nothingUseful]")); String expectedOut = - "usage: hdfs scm []\n" + + "usage: hdfs scmcli []\n" + "where can be one of the following\n" + " -container Container related options\n"; assertEquals(expectedOut, testContent.toString()); @@ -470,7 +470,7 @@ public class TestSCMCli { String[] args = {"-help"}; assertEquals(ResultCode.SUCCESS, cli.run(args)); String expected = - "usage: hdfs scm []\n" + + "usage: hdfs scmcli []\n" + "where can be one of the following\n" + " -container Container related options\n"; assertEquals(expected, testContent.toString());