Skip to content

Commit fe454e3

Browse files
committed
[ci] Remove Java Flight Recorder from CI and Maven Surefire target, as it seems to corrupt the std/in stream, see: https://maven.apache.org/surefire/maven-surefire-plugin/faq.html#corruptedstream
1 parent 2d3976e commit fe454e3

File tree

2 files changed

+2
-3
lines changed

2 files changed

+2
-3
lines changed

.github/workflows/ci-test.yml

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@ on: [push, pull_request]
33
permissions:
44
contents: read
55
env:
6-
MAVEN_OPTS: -XX:StartFlightRecording=maxsize=5g,disk=true,dumponexit=true,settings=default,filename=./ -DtrimStackTrace=false -D'maven.resolver.transport=wagon'
6+
MAVEN_OPTS: -DtrimStackTrace=false -D'maven.resolver.transport=wagon'
77
DEV_JDK: '17'
88
jobs:
99
license:
@@ -81,6 +81,5 @@ jobs:
8181
name: ${{ runner.os }}-${{ matrix.jvm }}-build-logs
8282
retention-days: 5
8383
path: |
84-
**/*.jfr
8584
**/hs_err_pid*.log
8685
**/target/surefire-reports/*

exist-parent/pom.xml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -847,7 +847,7 @@
847847
However it can make it hard to diagnose problems if tests leak state; If you experience
848848
such a problem you may want to set it to `false` whilst debugging -->
849849
<reuseForks>true</reuseForks>
850-
<argLine>@{jacocoArgLine} --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.ref=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED -XX:StartFlightRecording=maxsize=5g,disk=true,dumponexit=true,settings=default,filename=${project.build.directory}/ -Dfile.encoding=${project.build.sourceEncoding}</argLine>
850+
<argLine>@{jacocoArgLine} --add-opens=java.base/java.lang=ALL-UNNAMED --add-opens=java.base/java.lang.ref=ALL-UNNAMED --add-opens=java.base/java.lang.reflect=ALL-UNNAMED -Dfile.encoding=${project.build.sourceEncoding}</argLine>
851851
<systemPropertyVariables>
852852
<user.country>UK</user.country>
853853
<user.language>en</user.language>

0 commit comments

Comments
 (0)