[ 
https://issues.apache.org/jira/browse/YARN-909?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13704220#comment-13704220
 ] 

Chris Nauroth commented on YARN-909:
------------------------------------

Another way to do this patch would be to change the {{Before}} method so that 
the first line is:

{code}
org.junit.Assume.assumeTrue(!Shell.WINDOWS);
{code}

This would be a smaller patch, and it also would automatically cover skipping 
any new tests added to this suite when running on Windows.

                
> Disable TestLinuxContainerExecutorWithMocks on Windows
> ------------------------------------------------------
>
>                 Key: YARN-909
>                 URL: https://issues.apache.org/jira/browse/YARN-909
>             Project: Hadoop YARN
>          Issue Type: Bug
>            Reporter: Chuan Liu
>            Assignee: Chuan Liu
>            Priority: Minor
>         Attachments: YARN-909.patch
>
>
> This unit test tests a Linux specific feature. We should skip this unit test 
> on Windows. A similar unit test 'TestLinuxContainerExecutor' was already 
> skipped when running on Windows.

--
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

Reply via email to