[
https://issues.apache.org/jira/browse/HADOOP-9427?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13610384#comment-13610384
]
Chris Nauroth commented on HADOOP-9427:
---------------------------------------
Cool idea. Thanks, Steve. That saves us from writing
{{assumeTrue(!Shell.WINDOWS)}} everywhere.
> use jUnit assumptions to skip platform-specific tests
> -----------------------------------------------------
>
> Key: HADOOP-9427
> URL: https://issues.apache.org/jira/browse/HADOOP-9427
> Project: Hadoop Common
> Issue Type: Bug
> Components: test
> Affects Versions: 3.0.0
> Reporter: Arpit Agarwal
> Fix For: 3.0.0
>
>
> Certain tests for platform-specific functionality are either executed only on
> Windows or bypass on Windows using checks like "if (Path.WINDOWS)" e.g.
> TestNativeIO.
> Prefer using jUnit assumptions instead.
--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira