Skip to content

Commit 4d360e8

Browse files
committed
JFR default settings - Adjust smoke test
Extend smoke test to check that process information is not collected
1 parent 9d8df06 commit 4d360e8

File tree

1 file changed

+5
-0
lines changed

1 file changed

+5
-0
lines changed

dd-smoke-tests/profiling-integration-tests/src/test/java/datadog/smoketest/JFRBasedProfilingIntegrationTest.java

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -565,6 +565,11 @@ private void assertRecordingEvents(
565565
final IItemCollection events,
566566
final boolean expectEndpointEvents,
567567
final boolean asyncProfilerEnabled) {
568+
// Process events should not be collected
569+
assertFalse(
570+
events.apply(ItemFilters.type("jdk.SystemProcess")).hasItems(),
571+
"jdk.SystemProcess events should not be collected");
572+
568573
assertTrue(
569574
events
570575
.apply(

0 commit comments

Comments
 (0)