mirror of
https://github.com/async-profiler/async-profiler.git
synced 2026-04-28 10:53:49 +00:00
Fix recordCpuMultiEngine test failure when kernel profiling is restricted (#1664)
This commit is contained in:
@@ -42,7 +42,7 @@ public class JfrTests {
|
||||
assert out.contains(normalLoadPattern);
|
||||
}
|
||||
|
||||
@Test(mainClass = CpuLoad.class, agentArgs = "start,event=cpu,wall,record-cpu,file=%profile.jfr", os = Os.LINUX)
|
||||
@Test(mainClass = CpuLoad.class, agentArgs = "start,event=cpu,alluser,wall,record-cpu,file=%profile.jfr", os = Os.LINUX)
|
||||
public void recordCpuMultiEngine(TestProcess p) throws Exception {
|
||||
p.waitForExit();
|
||||
assert p.exitCode() == 0;
|
||||
|
||||
Reference in New Issue
Block a user