Skip to content

Commit be16336

Browse files
committed
Add flag to start jfr recording
1 parent af76058 commit be16336

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

dd-smoke-tests/spring-boot-3.0-native/src/test/groovy/SpringBootNativeInstrumentationTest.groovy

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ class SpringBootNativeInstrumentationTest extends AbstractServerSmokeTest {
5151
"-Ddd.trace.debug=true",
5252
"-Ddd.jmxfetch.statsd.port=${statsdPort}",
5353
"-Ddd.jmxfetch.start-delay=0",
54+
"-XX:StartFlightRecording=filename=${testJfrDir}/recording.jfr",
5455
])
5556
ProcessBuilder processBuilder = new ProcessBuilder(command)
5657
processBuilder.directory(new File(buildDirectory))

0 commit comments

Comments
 (0)