Skip to content

Commit b4db450

Browse files
committed
Fix tests
1 parent 6da7448 commit b4db450

2 files changed

Lines changed: 3 additions & 1 deletion

File tree

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

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -47,6 +47,9 @@ void before() {
4747
}
4848

4949
void after() throws InterruptedException {
50+
if (executor == null) {
51+
return;
52+
}
5053
executor.shutdownNow();
5154
boolean terminated = executor.awaitTermination(30, TimeUnit.SECONDS);
5255
if (!terminated) {

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

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -22,7 +22,6 @@ protected void after() throws InterruptedException {
2222

2323
@Override
2424
protected boolean isPlatformSupported() {
25-
// Liveness tracking requires Java 11+ and specific JVM types
2625
return Platform.isJ9();
2726
}
2827

0 commit comments

Comments
 (0)