[
https://issues.apache.org/jira/browse/HADOOP-9359?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13592911#comment-13592911
]
Matt Foley commented on HADOOP-9359:
------------------------------------
In order to keep execution time down and isolate the new functionality, Giri
and I intend the following design:
A separate powershell script, modeled on the existing test-patch.sh, but
invoking only java build and unit tests, shall be added. The new file will be
called test-patch-win.ps1. Existing functionality of test-patch.sh will be
unchanged.
The Jenkins job that invokes test-patch.sh will be modified to also invoke
test-patch-win.ps1 in parallel, utilizing a Windows Jenkins slave. This avoids
slowing down the user-visible speed of the pre-commit test response. The
current linux results will be reported in a comment as usual. The new windows
results will be reported in a separate comment.
> Add Windows build and unit test to test-patch pre-commit testing
> ----------------------------------------------------------------
>
> Key: HADOOP-9359
> URL: https://issues.apache.org/jira/browse/HADOOP-9359
> Project: Hadoop Common
> Issue Type: Sub-task
> Components: native
> Reporter: Matt Foley
> Assignee: Matt Foley
>
> The "test-patch" utility is triggered by "Patch Available" state in Jira, and
> runs nine different sets of builds, tests, and static analysis tools.
> Currently only the Linux environment is tested. Need to add tests for Java
> build under Windows, and unit test execution under Windows.
> At this time, the community has decided that "-1" on these new additional
> tests shall not block commits to the code base. However, contributors and
> code reviewers are encouraged to utilize the information provided by these
> tests to help keep Hadoop cross-platform compatible.
--
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