File tree Expand file tree Collapse file tree 1 file changed +3
-2
lines changed
dd-trace-core/jfr-openjdk/src/test/groovy/datadog/trace/core/jfr/openjdk Expand file tree Collapse file tree 1 file changed +3
-2
lines changed Original file line number Diff line number Diff line change @@ -23,8 +23,8 @@ import static datadog.trace.api.ConfigDefaults.DEFAULT_SERVICE_NAME
2323@Requires ({ jvm.java11Compatible })
2424class ScopeEventTest extends DDSpecification {
2525 @Rule
26- public final RestoreSystemProperties restoreSystemProperties = new RestoreSystemProperties ()
27-
26+ public RestoreSystemProperties restoreSystemProperties = new RestoreSystemProperties ()
27+
2828 private static final Duration SLEEP_DURATION = Duration . ofSeconds(1 )
2929
3030 def writer = new ListWriter ()
@@ -114,6 +114,7 @@ class ScopeEventTest extends DDSpecification {
114114 setup :
115115 ConfigUtils . updateConfig {
116116 System . setProperty(" dd.${ Config.PROFILING_ENABLED} " , " false" )
117+ System . setProperty(" dd.${ Config.HEALTH_METRICS_ENABLED} " , " false" )
117118 }
118119 SystemAccess . enableJmx()
119120 def recording = JfrHelper . startRecording()
You can’t perform that action at this time.
0 commit comments