Skip to content

Commit

Permalink
Revert "Capture memory leak failures"
Browse files Browse the repository at this point in the history
This reverts commit 8ca94d5.

Signed-off-by: Peter Nied <[email protected]>
  • Loading branch information
peternied committed Dec 6, 2024
1 parent 5fa0d20 commit f2a0757
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 19 deletions.
19 changes: 1 addition & 18 deletions .github/workflows/CI.yml
Original file line number Diff line number Diff line change
Expand Up @@ -101,15 +101,6 @@ jobs:

gradle-tests:
runs-on: ubuntu-latest
strategy:
fail-fast: false
matrix:
run:
- 1
- 2
- 3
- 4
- 5
steps:
- uses: actions/checkout@v4
- uses: actions/setup-java@v4
Expand All @@ -130,18 +121,10 @@ jobs:
env:
OS_MIGRATIONS_GRADLE_SCAN_TOS_AGREE_AND_ENABLED: ''

- name: Collection memory dump
if: always()
uses: actions/upload-artifact@v4
with:
if-no-files-found: ignore
name: ${{ matrix.run }}-jvm-dump.hprof
path: /tmp/jvm-dump.hprof

- uses: actions/upload-artifact@v4
if: always()
with:
name: ${{ matrix.run }}-test-reports-gradle-tests
name: test-reports-gradle-tests
path: |
**/build/reports/tests/
**/reports/jacoco/mergedReport/
Expand Down
2 changes: 1 addition & 1 deletion build.gradle
Original file line number Diff line number Diff line change
Expand Up @@ -127,7 +127,7 @@ subprojects {
systemProperty 'junit.jupiter.execution.parallel.enabled', 'false'
systemProperty 'log4j2.contextSelector', 'org.apache.logging.log4j.core.selector.BasicContextSelector'
// Verify assertions in tests
jvmArgs = ['-ea', '-XX:+HeapDumpOnOutOfMemoryError','-XX:HeapDumpPath=/tmp/jvm-dump.hprof']
jvmArgs '-ea'
jacoco.enabled = true
}

Expand Down

0 comments on commit f2a0757

Please sign in to comment.