You are viewing a plain text version of this content. The canonical link for it is here.
Posted to common-issues@hadoop.apache.org by "Vinod Kumar Vavilapalli (JIRA)" <ji...@apache.org> on 2015/09/04 00:47:46 UTC

[jira] [Updated] (HADOOP-12280) Skip unit tests based on maven profile rather than NativeCodeLoader.isNativeCodeLoaded

     [ https://issues.apache.org/jira/browse/HADOOP-12280?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]

Vinod Kumar Vavilapalli updated HADOOP-12280:
---------------------------------------------
           Labels: 2.6.1-candidate 2.7.2-candidate  (was: )
    Fix Version/s: 2.6.1

I pulled this into 2.6.1 as a followup for HADOOP-7139, ensuring the tests aren't failing without native-code.

Ran compilation and the (now ignored without native code) tests TestCryptoCodec, TestCryptoStreamsWithOpensslAesCtrCryptoCodec, TestSequenceFileAppend before the push.

> Skip unit tests based on maven profile rather than NativeCodeLoader.isNativeCodeLoaded
> --------------------------------------------------------------------------------------
>
>                 Key: HADOOP-12280
>                 URL: https://issues.apache.org/jira/browse/HADOOP-12280
>             Project: Hadoop Common
>          Issue Type: Improvement
>          Components: test
>            Reporter: Masatake Iwasaki
>            Assignee: Masatake Iwasaki
>            Priority: Minor
>              Labels: 2.6.1-candidate, 2.7.2-candidate
>             Fix For: 2.6.1, 2.8.0
>
>         Attachments: HADOOP-12280.001.patch
>
>
> Some tests are skipped if native code is not loaded (i.e. NativeCodeLoader.isNativeCodeLoaded() returns false). Skipping the test or not should be judged from Maven profile rather than isNativeCodeLoaded() because tests should fail if native libraries are misplaced by invalid configuration in native profile.



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