Set Netty leak detection level to PARANOID in unit tests

master
Graham 5 years ago
parent 6b247cb0e1
commit d155f99ffb
  1. 1
      .idea/runConfigurations/dev_openrs2.xml
  2. 12
      pom.xml

@ -4,6 +4,7 @@
<option name="MAIN_CLASS_NAME" value="" /> <option name="MAIN_CLASS_NAME" value="" />
<option name="METHOD_NAME" value="" /> <option name="METHOD_NAME" value="" />
<option name="TEST_OBJECT" value="package" /> <option name="TEST_OBJECT" value="package" />
<option name="VM_PARAMETERS" value="-ea -Dio.netty.leakDetection.level=PARANOID" />
<option name="PARAMETERS" value="" /> <option name="PARAMETERS" value="" />
<option name="TEST_SEARCH_SCOPE"> <option name="TEST_SEARCH_SCOPE">
<value defaultName="wholeProject" /> <value defaultName="wholeProject" />

@ -159,6 +159,18 @@
</repository> </repository>
</repositories> </repositories>
<build>
<plugins>
<plugin>
<groupId>org.apache.maven.plugins</groupId>
<artifactId>maven-surefire-plugin</artifactId>
<configuration>
<argLine>@{argLine} -ea -Dio.netty.leakDetection.level=PARANOID</argLine>
</configuration>
</plugin>
</plugins>
</build>
<reporting> <reporting>
<plugins> <plugins>
<plugin> <plugin>

Loading…
Cancel
Save