Skip to content
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

move webcommon job to JDK 11 and fix tests where needed. #5143

Merged
merged 1 commit into from
Dec 24, 2022

Conversation

mbien
Copy link
Member

@mbien mbien commented Dec 23, 2022

only a single test failed:
JsDocCodeCompletionTest can't use getTestFile() in overwritten method since the method fails the test if the file does not exist. The Test file logic in CslTestBase::assertDescriptionMatches has to be able to call exists() on a potentially not existing file when it is trying to find JDK version specific (golden) test files.

everything else in this job should be ready for 11.

meta issue: #4904

JsDocCodeCompletionTest can't use getTestFile() in overwritten method
since the method fails the test if the file does not exist. The
Test file logic in CslTestBase::assertDescriptionMatches has to be able
to call exists() on a potentially not existing file when it is trying
to find JDK version specific (golden) test files.
@mbien mbien added CI Continuous Integration tests labels Dec 23, 2022
@mbien mbien added this to the NB17 milestone Dec 23, 2022
@mbien mbien added the JavaScript [ci] enable web job and extra JavaScript tests (webcommon/javascript2.editor) label Dec 23, 2022
@mbien mbien marked this pull request as ready for review December 23, 2022 23:54
Copy link
Contributor

@matthiasblaesing matthiasblaesing left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I had to look twice why this fails, but finally saw the problematic code path (scanning through version specific completion files on JDK 9+). Thank you, looks good to me.

@mbien
Copy link
Member Author

mbien commented Dec 24, 2022

@matthiasblaesing thanks for review and happy holidays! :)

@mbien mbien merged commit f2fc680 into apache:master Dec 24, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
CI Continuous Integration JavaScript [ci] enable web job and extra JavaScript tests (webcommon/javascript2.editor) tests
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants