[
https://issues.apache.org/jira/browse/MAPREDUCE-5991?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14074187#comment-14074187
]
Binglin Chang commented on MAPREDUCE-5991:
------------------------------------------
[~mauzhang], thanks for the comments, you are right. I should use
hadoop-mapreduce-client-common normal jar rather than test-jar. I will add the
fix into another jira.
> native-task should not run unit tests if native profile is not enabled
> ----------------------------------------------------------------------
>
> Key: MAPREDUCE-5991
> URL: https://issues.apache.org/jira/browse/MAPREDUCE-5991
> Project: Hadoop Map/Reduce
> Issue Type: Sub-task
> Components: task
> Reporter: Todd Lipcon
> Assignee: Binglin Chang
> Attachments: MAPREDUCE-5991.v1.patch
>
>
> Currently, running "mvn test" without the 'native' profile enabled causes all
> of the native-task tests to fail. In order to integrate to trunk, we need to
> fix this - either using JUnit "Assume" commands in each test that depends on
> native code, or disabling the tests from the pom unless -Pnative is specified
--
This message was sent by Atlassian JIRA
(v6.2#6252)