The integration tests for inferred-spans would occasionally crash for openJ9: OpenJ9 support is experimental in async-profiler and seems to be a bit racy, making the JVM crash sometimes.
For that we reason, we already exclude openj9 from async-profiler tests. For the integration tests, the @DisabledOnOpenj9 annotation isn't sufficient though, because there we start the agent via JVM parameters, which potentially can already crash the JVM before JUnit even gets to run.
This PR adds a config option to gradle to exclude projects from running with openJ9 for tests.
The integration tests for inferred-spans would occasionally crash for openJ9: OpenJ9 support is experimental in async-profiler and seems to be a bit racy, making the JVM crash sometimes.
here is an example of such a failed run.
For that we reason, we already exclude openj9 from async-profiler tests. For the integration tests, the
@DisabledOnOpenj9
annotation isn't sufficient though, because there we start the agent via JVM parameters, which potentially can already crash the JVM before JUnit even gets to run.This PR adds a config option to gradle to exclude projects from running with openJ9 for tests.