Skip to content

Commit cf2104c

Browse files
authored
Run profiler smoke tests on jdk 11 & 17 (#2248)
* Run profiler smoke tests on jdk 11 & 17 * remove unused import
1 parent 43e9b13 commit cf2104c

File tree

1 file changed

+1
-3
lines changed

1 file changed

+1
-3
lines changed

smoke-tests/src/test/java/com/splunk/opentelemetry/ProfilerSmokeTest.java

Lines changed: 1 addition & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -45,7 +45,6 @@
4545
import jdk.jfr.consumer.RecordingFile;
4646
import okhttp3.Request;
4747
import okhttp3.Response;
48-
import org.junit.Ignore;
4948
import org.junit.jupiter.api.AfterAll;
5049
import org.junit.jupiter.api.BeforeAll;
5150
import org.junit.jupiter.api.Test;
@@ -77,14 +76,12 @@ public static class TestJdk8 extends ProfilerSmokeTest {
7776
}
7877
}
7978

80-
@Ignore
8179
public static class TestJdk11 extends ProfilerSmokeTest {
8280
TestJdk11() {
8381
super("11");
8482
}
8583
}
8684

87-
@Ignore
8885
public static class TestJdk17 extends ProfilerSmokeTest {
8986
TestJdk17() {
9087
super("17");
@@ -276,6 +273,7 @@ private void startPetclinic() {
276273
"-javaagent:/" + TestContainerManager.TARGET_AGENT_FILENAME,
277274
"-Dotel.resource.attributes=service.name=smoketest,deployment.environment=smokeytown",
278275
"-Dotel.javaagent.debug=true",
276+
"-Dotel.logs.exporter=none",
279277
"-Dsplunk.profiler.enabled=true",
280278
"-Dsplunk.profiler.memory.enabled=true",
281279
"-Dsplunk.profiler.directory=/app/jfr",

0 commit comments

Comments
 (0)