-
Notifications
You must be signed in to change notification settings - Fork 29.1k
[SPARK-6773][Tests]Fix RAT checks still passed issue when download rat jar failed #5421
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
|
Can one of the admins verify this patch? |
dev/check-license
Outdated
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.
This seems fine except that this message needs improvement. 'RAT exited abnormally' is probably fine.
|
@srowen fixed according you comments, pls review. |
Change message according srowen's comment.
dev/check-license
Outdated
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.
Actually I also just noticed that this should be quoted as "$JAR", and above in the unzip command, to take care with paths containing spaces.
|
Looking again at the rest of the script, I don't see the point of |
|
You are right, that check is just redundant ! + This PR LGTM given the fix that @srowen suggested is done. |
|
ok to test |
|
Test build #30033 has started for PR 5421 at commit |
|
Test build #30033 has finished for PR 5421 at commit
|
|
Test PASSed. |
check -license will passed in next time when rat jar download failed.
Add 2 step to fix this: