chore: Turn on Netty's leak detector in build. (#1637)
This commit is contained in:
parent
5334ea40f6
commit
b0e753417d
4 changed files with 9 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
3
.github/workflows/nightly-1.1-builds.yml
vendored
3
.github/workflows/nightly-1.1-builds.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
1
.github/workflows/nightly-builds-aeron.yml
vendored
1
.github/workflows/nightly-builds-aeron.yml
vendored
|
|
@ -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
.github/workflows/nightly-builds.yml
vendored
3
.github/workflows/nightly-builds.yml
vendored
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue