Skip to content

Commit 6e6acc1

Browse files
Fix recordCpuMultiEngine test failure when kernel profiling is restricted (async-profiler#1664)
1 parent 709a777 commit 6e6acc1

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

test/test/jfr/JfrTests.java

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -42,7 +42,7 @@ public void cpuLoad(TestProcess p) throws Exception {
4242
assert out.contains(normalLoadPattern);
4343
}
4444

45-
@Test(mainClass = CpuLoad.class, agentArgs = "start,event=cpu,wall,record-cpu,file=%profile.jfr", os = Os.LINUX)
45+
@Test(mainClass = CpuLoad.class, agentArgs = "start,event=cpu,alluser,wall,record-cpu,file=%profile.jfr", os = Os.LINUX)
4646
public void recordCpuMultiEngine(TestProcess p) throws Exception {
4747
p.waitForExit();
4848
assert p.exitCode() == 0;

0 commit comments

Comments
 (0)