-
Notifications
You must be signed in to change notification settings - Fork 29k
[SPARK-24535][SPARKR] fix tests on java check error #21666
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Conversation
|
Test build #92456 has finished for PR 21666 at commit
|
|
Test build #92457 has finished for PR 21666 at commit
|
|
Jenkins, retest this please |
|
Test build #92461 has finished for PR 21666 at commit
|
R/pkg/R/client.R
Outdated
|
|
||
| checkJavaVersion <- function() { | ||
| if (is_windows()) { | ||
| # See SPARK-24535 |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
But this just would end up skipping all tests on Windows ? I'm not sure if thats the right move here. Is there some way to run some tests on Windows ?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
it would skip blindly yes - I guess we need to root cause why checkJavaVersion() fails on Windows/jdk 8 - otherwise sparkR.session() would just fail anyway and no way to continue to run/test anything.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
updated
|
Test build #92556 has finished for PR 21666 at commit
|
|
Test build #92557 has finished for PR 21666 at commit
|
|
Any update on this issue @felixcheung , this blocks 2.3.2 release, just want to make sure if it is still in-progress. |
|
sorry for the delay, I couldn't reply earlier - the fix was ready but I was hoping for a review. |
|
merged to master/2.3 |
## What changes were proposed in this pull request? change to skip tests if - couldn't determine java version fix problem on windows ## How was this patch tested? unit test, manual, win-builder Author: Felix Cheung <felixcheung_m@hotmail.com> Closes #21666 from felixcheung/rjavaskip. (cherry picked from commit 141953f) Signed-off-by: Felix Cheung <felixcheung@apache.org>
|
Thanks @felixcheung . |
|
Thanks @felixcheung and sorry for the delay in looking at this. I think the fix looks good. Overall it looks like we need to use system2 for the java version check as otherwise it runs inside a shell. |
What changes were proposed in this pull request?
change to skip tests if
fix problem on windows
How was this patch tested?
unit test, manual, win-builder