Test output should include GC details
Motivation: Our tests are often asynchronous and have timeouts to avoid hanging indefinitely. However sometimes the timeouts maybe set to low for the CI servers. It would be helpful to confirm if the application was busy with GC and if that was a contributing factor to the test timing out. Modifications: - Unit tests should run with -XX:+PrintGCDetails by default Result: More visibility into GC behavior in unit tests.
This commit is contained in:
parent
ea73e47a8b
commit
e17f438b10
9
pom.xml
9
pom.xml
@ -94,6 +94,12 @@
|
|||||||
<argLine.leak>-Dio.netty.leakDetectionLevel=paranoid -Dio.netty.leakDetection.maxRecords=32</argLine.leak>
|
<argLine.leak>-Dio.netty.leakDetectionLevel=paranoid -Dio.netty.leakDetection.maxRecords=32</argLine.leak>
|
||||||
</properties>
|
</properties>
|
||||||
</profile>
|
</profile>
|
||||||
|
<profile>
|
||||||
|
<id>noPrintGC</id>
|
||||||
|
<properties>
|
||||||
|
<argLine.printGC>-D_</argLine.printGC>
|
||||||
|
</properties>
|
||||||
|
</profile>
|
||||||
<profile>
|
<profile>
|
||||||
<id>noUnsafe</id>
|
<id>noUnsafe</id>
|
||||||
<properties>
|
<properties>
|
||||||
@ -180,6 +186,7 @@
|
|||||||
<argLine.leak>-D_</argLine.leak> <!-- Overridden when 'leak' profile is active -->
|
<argLine.leak>-D_</argLine.leak> <!-- Overridden when 'leak' profile is active -->
|
||||||
<argLine.noUnsafe>-D_</argLine.noUnsafe> <!-- Overridden when 'noUnsafe' profile is active -->
|
<argLine.noUnsafe>-D_</argLine.noUnsafe> <!-- Overridden when 'noUnsafe' profile is active -->
|
||||||
<argLine.coverage>-D_</argLine.coverage> <!-- Overridden when 'coverage' profile is active -->
|
<argLine.coverage>-D_</argLine.coverage> <!-- Overridden when 'coverage' profile is active -->
|
||||||
|
<argLine.printGC>-XX:+PrintGCDetails</argLine.printGC>
|
||||||
<argLine.java9 /> <!-- Overridden when 'java9' profile is active -->
|
<argLine.java9 /> <!-- Overridden when 'java9' profile is active -->
|
||||||
<argLine.javaProperties>-D_</argLine.javaProperties>
|
<argLine.javaProperties>-D_</argLine.javaProperties>
|
||||||
<!-- Configure the os-maven-plugin extension to expand the classifier on -->
|
<!-- Configure the os-maven-plugin extension to expand the classifier on -->
|
||||||
@ -811,7 +818,7 @@
|
|||||||
<logback.configurationFile>${logging.config}</logback.configurationFile>
|
<logback.configurationFile>${logging.config}</logback.configurationFile>
|
||||||
<logLevel>${logging.logLevel}</logLevel>
|
<logLevel>${logging.logLevel}</logLevel>
|
||||||
</systemPropertyVariables>
|
</systemPropertyVariables>
|
||||||
<argLine>${argLine.common} ${argLine.alpnAgent} ${argLine.leak} ${argLine.coverage} ${argLine.noUnsafe} ${argLine.java9} ${argLine.javaProperties}</argLine>
|
<argLine>${argLine.common} ${argLine.printGC} ${argLine.alpnAgent} ${argLine.leak} ${argLine.coverage} ${argLine.noUnsafe} ${argLine.java9} ${argLine.javaProperties}</argLine>
|
||||||
<properties>
|
<properties>
|
||||||
<property>
|
<property>
|
||||||
<name>listener</name>
|
<name>listener</name>
|
||||||
|
Loading…
Reference in New Issue
Block a user