Skip to content

Commit 5be1521

Browse files
authored
Disable CPU overhead test due to flakyness (#2984)
1 parent b2a4dc4 commit 5be1521

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

apm-agent-core/src/test/java/co/elastic/apm/agent/metrics/builtin/AgentOverheadMetricsTest.java

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -27,6 +27,7 @@
2727
import co.elastic.apm.agent.util.ExecutorUtils;
2828
import com.sun.management.ThreadMXBean;
2929
import org.junit.jupiter.api.BeforeEach;
30+
import org.junit.jupiter.api.Disabled;
3031
import org.junit.jupiter.api.Test;
3132
import org.junit.jupiter.params.ParameterizedTest;
3233
import org.junit.jupiter.params.provider.ValueSource;
@@ -69,6 +70,7 @@ public void setUp() {
6970
}
7071

7172
@Test
73+
@Disabled("due to flakyness")
7274
public void checkCpuMetrics() throws InterruptedException {
7375
//make sure that the OS provides a value for cpuLoad
7476
awaitNonZeroProcessCpuLoad();

0 commit comments

Comments
 (0)