Skip to content
Merged
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
Original file line number Diff line number Diff line change
Expand Up @@ -27,6 +27,7 @@
import okhttp3.mockwebserver.RecordedRequest;
import org.junit.jupiter.api.DisplayName;
import org.junit.jupiter.api.Test;
import org.junit.jupiter.api.condition.DisabledIf;
import org.junit.jupiter.params.ParameterizedTest;
import org.junit.jupiter.params.provider.ValueSource;

Expand All @@ -49,6 +50,7 @@ protected String getAppId() {
@ParameterizedTest(name = "Process tags enabled ''{0}''")
@ValueSource(booleans = {true, false})
@DisplayName("testTracer")
@DisabledIf(value = "datadog.trace.api.Platform#isJ9", disabledReason = "Flaky on J9 JVMs")
void testTracer(boolean processTagsEnabled) throws Exception {
LogProbe logProbe =
LogProbe.builder()
Expand Down Expand Up @@ -79,6 +81,7 @@ void testTracer(boolean processTagsEnabled) throws Exception {

@Test
@DisplayName("testTracerDynamicLog")
@DisabledIf(value = "datadog.trace.api.Platform#isJ9", disabledReason = "Flaky on J9 JVMs")
void testTracerDynamicLog() throws Exception {
LogProbe logProbe =
LogProbe.builder()
Expand All @@ -101,6 +104,7 @@ void testTracerDynamicLog() throws Exception {

@Test
@DisplayName("testTracerSameMethod")
@DisabledIf(value = "datadog.trace.api.Platform#isJ9", disabledReason = "Flaky on J9 JVMs")
void testTracerSameMethod() throws Exception {
LogProbe logProbe =
LogProbe.builder()
Expand All @@ -120,6 +124,7 @@ void testTracerSameMethod() throws Exception {

@Test
@DisplayName("testTracerLineSnapshotProbe")
@DisabledIf(value = "datadog.trace.api.Platform#isJ9", disabledReason = "Flaky on J9 JVMs")
void testTracerLineSnapshotProbe() throws Exception {
LogProbe logProbe =
LogProbe.builder()
Expand All @@ -139,6 +144,7 @@ void testTracerLineSnapshotProbe() throws Exception {

@Test
@DisplayName("testTracerLineDynamicLogProbe")
@DisabledIf(value = "datadog.trace.api.Platform#isJ9", disabledReason = "Flaky on J9 JVMs")
void testTracerLineDynamicLogProbe() throws Exception {
final String LOG_TEMPLATE = "processWithArg {argInt}";
LogProbe logProbe =
Expand Down