hadoop-common-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Vinod Kumar Vavilapalli (JIRA)" <j...@apache.org>
Subject [jira] [Updated] (HADOOP-12280) Skip unit tests based on maven profile rather than NativeCodeLoader.isNativeCodeLoaded
Date Thu, 10 Sep 2015 20:02:46 GMT

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

Vinod Kumar Vavilapalli updated HADOOP-12280:
---------------------------------------------
    Fix Version/s: 2.7.2

Just pulled this into branch-2.7 (release 2.7.2) as it already exists in 2.6.1.

branch-2.6 patch applied cleanly on branch-2.7. Ran compilation and TestCryptoCodec,TestCryptoStreamsWithOpensslAesCtrCryptoCodec,TestSequenceFileAppend
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, 2.7.2
>
>         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)

Mime
View raw message