You are viewing a plain text version of this content. The canonical link for it is here.
Posted to mapreduce-issues@hadoop.apache.org by "Binglin Chang (JIRA)" <ji...@apache.org> on 2014/07/24 09:36:40 UTC
[jira] [Updated] (MAPREDUCE-5991) native-task should not run unit
tests if native profile is not enabled
[ https://issues.apache.org/jira/browse/MAPREDUCE-5991?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Binglin Chang updated MAPREDUCE-5991:
-------------------------------------
Attachment: MAPREDUCE-5991.v1.patch
Changes:
1. add hadoop-mapreduce-client-common test jar, so to remove additionalClasspathElements
2. remove system tests in default profile, add them in native profile
now just run "mvn test" succeed. note that "mvn test -Pnative" is still failing
> 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)