Skip to content

Commit 57f96dc

Browse files
committed
svm: disable native JFR unittests for now [GR-55178]
1 parent b64252f commit 57f96dc

File tree

2 files changed

+5
-3
lines changed

2 files changed

+5
-3
lines changed

substratevm/src/com.oracle.svm.test/src/com/oracle/svm/test/jfr/TestContainerEvent.java

Lines changed: 2 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -30,13 +30,13 @@
3030

3131
import java.util.List;
3232

33-
import jdk.graal.compiler.serviceprovider.JavaVersionUtil;
3433
import org.junit.Assume;
3534
import org.junit.Test;
3635

3736
import com.oracle.svm.core.container.Container;
3837
import com.oracle.svm.test.jfr.events.ThreadEvent;
3938

39+
import jdk.graal.compiler.serviceprovider.JavaVersionUtil;
4040
import jdk.jfr.Recording;
4141
import jdk.jfr.consumer.RecordedEvent;
4242

@@ -47,6 +47,7 @@ public class TestContainerEvent extends JfrRecordingTest {
4747
@Test
4848
public void test() throws Throwable {
4949
Assume.assumeTrue("Container support not enabled or available", Container.isSupported());
50+
Assume.assumeTrue("Container detection currently not working GR-55178", false);
5051

5152
String[] events = new String[]{"jdk.ContainerConfiguration"};
5253
Recording recording = startRecording(events);

substratevm/src/com.oracle.svm.test/src/com/oracle/svm/test/jfr/TestJdkContainerEvents.java

Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
import org.junit.Assume;
3535
import org.junit.Test;
3636

37-
import com.oracle.svm.core.OS;
37+
import com.oracle.svm.core.container.Container;
3838

3939
import jdk.jfr.Recording;
4040
import jdk.jfr.consumer.RecordedEvent;
@@ -44,7 +44,8 @@ public class TestJdkContainerEvents extends JfrRecordingTest {
4444

4545
@Test
4646
public void test() throws Throwable {
47-
Assume.assumeTrue("Container support is limited to Linux", OS.LINUX.isCurrent());
47+
Assume.assumeTrue("Container support not enabled or available", Container.isSupported());
48+
Assume.assumeTrue("Container detection currently not working GR-55178", false);
4849
String[] events = new String[]{"jdk.ContainerCPUThrottling", "jdk.ContainerCPUUsage",
4950
"jdk.ContainerConfiguration", "jdk.ContainerIOUsage", "jdk.ContainerMemoryUsage"};
5051

0 commit comments

Comments
 (0)