chore: Turn on Netty's leak detector in build. (#1637)

This commit is contained in:
He-Pin(kerr) 2024-12-29 01:26:33 +08:00 committed by GitHub
parent 5334ea40f6
commit b0e753417d
No known key found for this signature in database
GPG key ID: B5690EEEBB952194
4 changed files with 9 additions and 0 deletions

View file

@ -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:
@ -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

View file

@ -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 \
@ -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 }}
@ -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

View file

@ -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 }}

View file

@ -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 \
@ -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:
@ -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