Skip to content

Commit

Permalink
Disable jfr telemetry test on openj9 (#8161)
Browse files Browse the repository at this point in the history
  • Loading branch information
laurit authored Mar 29, 2023
1 parent 1f9fd81 commit aceb5b2
Showing 1 changed file with 11 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,21 @@
import io.opentelemetry.api.OpenTelemetry;
import java.util.Arrays;
import java.util.HashMap;
import org.junit.jupiter.api.Assumptions;
import org.junit.jupiter.api.BeforeAll;
import org.junit.jupiter.api.Test;

class JfrTelemetryBuilderTest {

@BeforeAll
static void setup() {
try {
Class.forName("jdk.jfr.consumer.RecordingStream");
} catch (ClassNotFoundException exception) {
Assumptions.abort("JFR not present");
}
}

@Test
void defaultFeatures() {
var defaultFeatures = new HashMap<JfrFeature, Boolean>();
Expand Down

0 comments on commit aceb5b2

Please sign in to comment.