Skip to content

Commit 8c91f53

Browse files
committed
Test only dwarf cstack on J9
1 parent 7ba5aa5 commit 8c91f53

File tree

2 files changed

+2
-1
lines changed

2 files changed

+2
-1
lines changed

ddprof-test/src/test/java/com/datadoghq/profiler/junit/CStackInjector.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public Stream<TestTemplateInvocationContext> provideTestTemplateInvocationContex
5151
return Stream.of(new ParameterizedTestContext("no", retryCount));
5252
} else {
5353
return Stream.of(valueSource.strings()).
54-
filter(param -> (!Platform.isJ9() || !param.startsWith("vm"))).
54+
filter(param -> (!Platform.isJ9() || "dwarf".equals(param))).
5555
map(param -> new ParameterizedTestContext(param, retryCount));
5656
}
5757
}

ddprof-test/src/test/java/com/datadoghq/profiler/wallclock/SmokeWallTest.java

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -16,6 +16,7 @@
1616
import java.util.concurrent.ExecutionException;
1717

1818
import static org.junit.jupiter.api.Assertions.assertFalse;
19+
import static org.junit.jupiter.api.Assumptions.assumeFalse;
1920

2021
public class SmokeWallTest extends CStackAwareAbstractProfilerTest {
2122
private ProfiledCode profiledCode;

0 commit comments

Comments
 (0)