Allow to run tests with leak detection enabled. (#8323)
Motivation: We should add some command to be able to run all tests with leak detection enabled. This will then be used on the CI during PR builds. Modifications: Add new docker-compose config to run with leak-detection enabled. Result: Easy way to enable leak detection while running tests via docker.
This commit is contained in:
parent
c546ab20a1
commit
9acd9273c1
@ -11,6 +11,8 @@ services:
|
|||||||
|
|
||||||
test:
|
test:
|
||||||
image: netty:centos-6-1.10
|
image: netty:centos-6-1.10
|
||||||
|
test-leak:
|
||||||
|
image: netty:centos-6-1.10
|
||||||
|
|
||||||
test-boringssl-static:
|
test-boringssl-static:
|
||||||
image: netty:centos-6-1.10
|
image: netty:centos-6-1.10
|
||||||
|
@ -12,6 +12,9 @@ services:
|
|||||||
test:
|
test:
|
||||||
image: netty:centos-6-1.11
|
image: netty:centos-6-1.11
|
||||||
|
|
||||||
|
test-leak:
|
||||||
|
image: netty:centos-6-1.11
|
||||||
|
|
||||||
test-boringssl-static:
|
test-boringssl-static:
|
||||||
image: netty:centos-6-1.11
|
image: netty:centos-6-1.11
|
||||||
|
|
||||||
|
@ -12,6 +12,9 @@ services:
|
|||||||
test:
|
test:
|
||||||
image: netty:centos-6-1.8
|
image: netty:centos-6-1.8
|
||||||
|
|
||||||
|
test-leak:
|
||||||
|
image: netty:centos-6-1.8
|
||||||
|
|
||||||
test-boringssl-static:
|
test-boringssl-static:
|
||||||
image: netty:centos-6-1.8
|
image: netty:centos-6-1.8
|
||||||
|
|
||||||
|
@ -12,6 +12,9 @@ services:
|
|||||||
test:
|
test:
|
||||||
image: netty:centos-6-1.9
|
image: netty:centos-6-1.9
|
||||||
|
|
||||||
|
test-leak:
|
||||||
|
image: netty:centos-6-1.9
|
||||||
|
|
||||||
test-boringssl-static:
|
test-boringssl-static:
|
||||||
image: netty:centos-6-1.9
|
image: netty:centos-6-1.9
|
||||||
|
|
||||||
|
@ -12,6 +12,9 @@ services:
|
|||||||
test:
|
test:
|
||||||
image: netty:centos-7-1.10
|
image: netty:centos-7-1.10
|
||||||
|
|
||||||
|
test-leak:
|
||||||
|
image: netty:centos-7-1.10
|
||||||
|
|
||||||
test-boringssl-static:
|
test-boringssl-static:
|
||||||
image: netty:centos-7-1.10
|
image: netty:centos-7-1.10
|
||||||
|
|
||||||
|
@ -12,6 +12,9 @@ services:
|
|||||||
test:
|
test:
|
||||||
image: netty:centos-7-1.11
|
image: netty:centos-7-1.11
|
||||||
|
|
||||||
|
test-leak:
|
||||||
|
image: netty:centos-7-1.11
|
||||||
|
|
||||||
test-boringssl-static:
|
test-boringssl-static:
|
||||||
image: netty:centos-7-1.11
|
image: netty:centos-7-1.11
|
||||||
|
|
||||||
|
@ -12,6 +12,9 @@ services:
|
|||||||
test:
|
test:
|
||||||
image: netty:centos-7-1.8
|
image: netty:centos-7-1.8
|
||||||
|
|
||||||
|
test-leak:
|
||||||
|
image: netty:centos-7-1.8
|
||||||
|
|
||||||
test-boringssl-static:
|
test-boringssl-static:
|
||||||
image: netty:centos-7-1.8
|
image: netty:centos-7-1.8
|
||||||
|
|
||||||
|
@ -12,6 +12,9 @@ services:
|
|||||||
test:
|
test:
|
||||||
image: netty:centos-7-1.9
|
image: netty:centos-7-1.9
|
||||||
|
|
||||||
|
test-leak:
|
||||||
|
image: netty:centos-7-1.9
|
||||||
|
|
||||||
test-boringssl-static:
|
test-boringssl-static:
|
||||||
image: netty:centos-7-1.9
|
image: netty:centos-7-1.9
|
||||||
|
|
||||||
|
@ -17,6 +17,10 @@ services:
|
|||||||
- ..:/code
|
- ..:/code
|
||||||
working_dir: /code
|
working_dir: /code
|
||||||
|
|
||||||
|
test-leak:
|
||||||
|
<<: *common
|
||||||
|
command: /bin/bash -cl "./mvnw -Pleak clean install -Dio.netty.testsuite.badHost=netty.io"
|
||||||
|
|
||||||
test:
|
test:
|
||||||
<<: *common
|
<<: *common
|
||||||
command: /bin/bash -cl "./mvnw clean install -Dio.netty.testsuite.badHost=netty.io"
|
command: /bin/bash -cl "./mvnw clean install -Dio.netty.testsuite.badHost=netty.io"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user