Skip to content

Commit

Permalink
chore: Turn on Netty's leak detector in build. (#1637)
Browse files Browse the repository at this point in the history
  • Loading branch information
He-Pin authored Dec 28, 2024
1 parent 5334ea4 commit b0e7534
Show file tree
Hide file tree
Showing 4 changed files with 9 additions and 0 deletions.
2 changes: 2 additions & 0 deletions .github/workflows/build-test-prValidation.yml
Original file line number Diff line number Diff line change
Expand Up @@ -99,6 +99,7 @@ jobs:
-Dpekko.test.multi-node=false \
-Dsbt.log.noformat=false \
-Dpekko.log.timestamps=true \
-Dio.netty.leakDetection.level=PARANOID \
validatePullRequest
jdk-21-extra-tests:
Expand Down Expand Up @@ -142,4 +143,5 @@ jobs:
-Dpekko.test.multi-node=false \
-Dsbt.log.noformat=false \
-Dpekko.log.timestamps=true \
-Dio.netty.leakDetection.level=PARANOID \
TestJdk9/test
3 changes: 3 additions & 0 deletions .github/workflows/nightly-1.1-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -55,6 +55,7 @@ jobs:
-Dpekko.actor.testkit.typed.timefactor=2 \
-Dpekko.test.tags.exclude=gh-exclude,timing \
-Dpekko.log.timestamps=true \
-Dio.netty.leakDetection.level=PARANOID \
-Dmultinode.XX:MetaspaceSize=128M \
-Dmultinode.Xms256M \
-Dmultinode.Xmx256M \
Expand Down Expand Up @@ -109,6 +110,7 @@ jobs:
-Dpekko.actor.testkit.typed.timefactor=2 \
-Dpekko.test.tags.exclude=gh-exclude,timing \
-Dpekko.test.multi-in-test=false \
-Dio.netty.leakDetection.level=PARANOID \
-Dpekko.cluster.assert=on \
clean ${{ matrix.command }}
Expand Down Expand Up @@ -159,4 +161,5 @@ jobs:
-Dpekko.actor.testkit.typed.timefactor=2 \
-Dpekko.test.tags.exclude=gh-exclude,timing \
-Dpekko.test.multi-in-test=false \
-Dio.netty.leakDetection.level=PARANOID \
clean "++ ${{ matrix.scalaVersion }} test" checkTestsHaveRun
1 change: 1 addition & 0 deletions .github/workflows/nightly-builds-aeron.yml
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ jobs:
-Dpekko.test.tags.exclude=gh-exclude,gh-exclude-aeron,timing \
-Dpekko.test.multi-in-test=false \
-Dpekko.cluster.assert=on \
-Dio.netty.leakDetection.level=PARANOID \
-Daeron.dir=/opt/volumes/media-driver \
-Daeron.term.buffer.length=33554432 \
clean ${{ matrix.command }}
3 changes: 3 additions & 0 deletions .github/workflows/nightly-builds.yml
Original file line number Diff line number Diff line change
Expand Up @@ -46,6 +46,7 @@ jobs:
-Dpekko.actor.testkit.typed.timefactor=2 \
-Dpekko.test.tags.exclude=gh-exclude,timing \
-Dpekko.log.timestamps=true \
-Dio.netty.leakDetection.level=PARANOID \
-Dmultinode.XX:MetaspaceSize=128M \
-Dmultinode.Xms256M \
-Dmultinode.Xmx256M \
Expand Down Expand Up @@ -110,6 +111,7 @@ jobs:
-Dpekko.test.tags.exclude=gh-exclude,timing \
-Dpekko.test.multi-in-test=false \
-Dpekko.cluster.assert=on \
-Dio.netty.leakDetection.level=PARANOID \
clean ${{ matrix.command }}
jdk-nightly-build:
Expand Down Expand Up @@ -161,6 +163,7 @@ jobs:
-Dpekko.actor.testkit.typed.timefactor=2 \
-Dpekko.test.tags.exclude=gh-exclude,timing \
-Dpekko.test.multi-in-test=false \
-Dio.netty.leakDetection.level=PARANOID \
clean "++ ${{ matrix.scalaVersion }} test" checkTestsHaveRun
# comment out test report until an apache or GitHub published action (action-surefire-report) can be found or added allowlist from INFRA
Expand Down

0 comments on commit b0e7534

Please sign in to comment.