From f2a0757808b389745e816471533239184709549e Mon Sep 17 00:00:00 2001 From: Peter Nied Date: Fri, 6 Dec 2024 22:50:27 +0000 Subject: [PATCH] Revert "Capture memory leak failures" This reverts commit 8ca94d56423f9921c6d63a3684a9db20f00ab294. Signed-off-by: Peter Nied --- .github/workflows/CI.yml | 19 +------------------ build.gradle | 2 +- 2 files changed, 2 insertions(+), 19 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 3b6268f48..4c6e1c36e 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -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 @@ -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/ diff --git a/build.gradle b/build.gradle index d78bfb476..232d8ba32 100644 --- a/build.gradle +++ b/build.gradle @@ -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 }