-
Notifications
You must be signed in to change notification settings - Fork 208
Update Java versions for tests #3878
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
cc48e2c to
64d5d6b
Compare
|
cc @johnoliver |
64d5d6b to
1367556
Compare
|
@johnoliver @dsgrieve I disabled the G1 test on Java 21+ so that we can merge this and make sure at least our other tests are passing on 21 and 23 |
1367556 to
6bad36c
Compare
| import static org.assertj.core.api.Assertions.assertThat; | ||
| import static org.junit.jupiter.api.condition.JRE.JAVA_11; | ||
| import static org.junit.jupiter.api.condition.JRE.JAVA_13; | ||
| import static org.junit.jupiter.api.condition.JRE.JAVA_17; |
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.
does it need java 21 and java 23 test here since you added java 17?
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 import is for an exclusion, see below:
@EnabledForJreRange(max = JAVA_17)
| } | ||
|
|
||
| @Test | ||
| @EnabledForJreRange(max = JAVA_17) |
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.
| @EnabledForJreRange(max = JAVA_17) | |
| @EnabledForJreRange(max = JAVA_17) // see https://github.com/microsoft/ApplicationInsights-Java/pull/3878#issuecomment-2431980712 |
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.
I'm going to merge so I don't have to wait for another CI build, but will send a quick follow-up to add this comment
Currently blocked on test failures inVariousCollectorsTestDisabled the G1 test for now on Java 21+