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

Arun Suresh updated HADOOP-11062:
---------------------------------
    Attachment: HADOOP-11062.2.patch

Uploading latest Patch.

[~cmccabe], [~clamb] , In the first patch, I had used Junit's 
{{Assume.assumeTrue()}} function to which you can pass a boolean (in our case 
the check if {{-Pnative}} is enabled) and a Message... and it should skip the 
test after logging the message if the boolean is false .. Unfortunately, the 
maven surefire plugin does not seem to be logging the message anywhere..

I have modified the patch to actually throw a {{LOG.warn()}}. The message will 
be captured in the 
{{target/surefire-reports/org.apache.hadoop.crypto....-output.txt}} file

> CryptoCodec testcases requiring OpenSSL should be run only if -Pnative is used
> ------------------------------------------------------------------------------
>
>                 Key: HADOOP-11062
>                 URL: https://issues.apache.org/jira/browse/HADOOP-11062
>             Project: Hadoop Common
>          Issue Type: Bug
>          Components: security, test
>    Affects Versions: 2.6.0
>            Reporter: Alejandro Abdelnur
>            Assignee: Arun Suresh
>         Attachments: HADOOP-11062.1.patch, HADOOP-11062.1.patch, 
> HADOOP-11062.2.patch
>
>
> there are a few testcases, cryptocodec related that require Hadoop native 
> code and OpenSSL.
> These tests should be skipped if -Pnative is not used when running the tests.



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

Reply via email to