[ 
https://issues.apache.org/jira/browse/SQOOP-2132?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14337691#comment-14337691
 ] 

ASF subversion and git services commented on SQOOP-2132:
--------------------------------------------------------

Commit 0c3db09ef9b6d908425c7d69130cc501a7e10416 in sqoop's branch 
refs/heads/trunk from [~abec]
[ https://git-wip-us.apache.org/repos/asf?p=sqoop.git;h=0c3db09 ]

SQOOP-2132: Sqoop2: Upgrade configs with name conflicts

(Jarek Jarcec Cecho via Abraham Elmahrek)


> Remove test TestMainframeImportTool.testPrintHelp
> -------------------------------------------------
>
>                 Key: SQOOP-2132
>                 URL: https://issues.apache.org/jira/browse/SQOOP-2132
>             Project: Sqoop
>          Issue Type: Bug
>    Affects Versions: 1.4.5
>            Reporter: Jarek Jarcec Cecho
>            Assignee: Jarek Jarcec Cecho
>             Fix For: 1.4.5
>
>         Attachments: SQOOP-2132.patch
>
>
> I've noticed that test {{TestMainframeImportTool.testPrintHelp}} fails if run 
> with Hadoop 2.6:
> {code}
> ant clean test -Dtestcase=TestMainframeImportTool
> {code}
> The reason is that Hadoop changed the default "help" text and this tool is 
> checking output of that command character by character:
> {code}
> Testcase: testPrintHelp took 0.025 sec
>       FAILED
> expected:<...namenode
> -jt <local|[jobtracker:port>    specify a job track]er
> -files <comma sep...> but was:<...namenode
> -jt <local|[resourcemanager:port>    specify a ResourceManag]er
> -files <comma sep...>
> junit.framework.ComparisonFailure: expected:<...namenode
> -jt <local|[jobtracker:port>    specify a job track]er
> -files <comma sep...> but was:<...namenode
> -jt <local|[resourcemanager:port>    specify a ResourceManag]er
> -files <comma sep...>
>       at 
> org.apache.sqoop.tool.TestMainframeImportTool.testPrintHelp(TestMainframeImportTool.java:99)
> {code}
> I don't see particular value in testing content of help message as it's 
> mostly a static code, so I would like to suggest to simply drop this test.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to