Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
3 changes: 2 additions & 1 deletion .github/workflows/build-common.yml
Original file line number Diff line number Diff line change
Expand Up @@ -117,7 +117,8 @@ jobs:
- 8
- 11
- 17
- 18
- 21
- 23
vm:
- hotspot
# TODO (trask) enable once profiler supports OpenJ9
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,7 @@
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;
Copy link
Contributor

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?

Copy link
Member Author

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)

import static org.junit.jupiter.api.condition.OS.LINUX;

import com.microsoft.gcmonitor.GcCollectionEvent;
Expand Down Expand Up @@ -33,6 +34,7 @@ void testParallel() throws Exception {
}

@Test
@EnabledForJreRange(max = JAVA_17)
Copy link
Member

Choose a reason for hiding this comment

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

Suggested change
@EnabledForJreRange(max = JAVA_17)
@EnabledForJreRange(max = JAVA_17) // see https://github.com/microsoft/ApplicationInsights-Java/pull/3878#issuecomment-2431980712

Copy link
Member Author

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

void testG1() throws Exception {
testGc("-XX:+UseG1GC", 50);
}
Expand All @@ -42,7 +44,7 @@ void testSerial() throws Exception {
testGc("-XX:+UseSerialGC", 50);
}

@Disabled
@Disabled // see https://github.com/microsoft/ApplicationInsights-Java/pull/3083
@Test
@EnabledForJreRange(min = JAVA_11)
void testShenandoah() throws Exception {
Expand Down
Loading