Elffuss BraidHub

kikocis/java-driver public

Disable default TestNG listeners (#730)

TestNG old HTML reporter generates a lot of File I/O since it
open/closes files repeatedly which can cause system instability
like OS crashes rarely.  This is made worse compounded by that
each test class file is considered its own suite, which causes an
amplification of file open and closes.

Since we only use the target/surefire-reports/TEST-TestSuite.xml
file, disabling these listeners shouldn't cause any problems.
Changeset8775f5e858c074c7864e90ff14eab741b8889ec987991f3dd1d9c0c178d468bc
AuthorAndrew Tolbert <andrew.tolbert@datastax.com> · 2016-08-30 15:35 -05:00
CommitterOlivier Michallat <olim7t@users.noreply.github.com> · 2016-08-30 13:35 -07:00
Parentsc064b2b20c54

Browse the files at this changeset

1 file changed

modified pom.xml +8 −0
@@ -138,6 +138,10 @@
138138 <artifactId>maven-surefire-plugin</artifactId>
139139 <version>2.16</version>
140140 <configuration>
141+ <property>
142+ <name>usedefaultlisteners</name>
143+ <value>false</value> <!-- disable default listeners as some of the html reports do a lot of File I/O -->
144+ </property>
141145 <skip>true</skip>
142146 <forkCount>1</forkCount>
143147 <reuseForks>false</reuseForks>
@@ -375,6 +379,10 @@
375379 <classpathDependencyExcludes>io.netty:netty-transport-native-epoll</classpathDependencyExcludes>
376380 </classpathDependencyExcludes>
377381 <properties>
382+ <property>
383+ <name>usedefaultlisteners</name>
384+ <value>false</value> <!-- disable default listeners as some of the html reports do a lot of File I/O -->
385+ </property>
378386 <property>
379387 <!-- Don't skip tests after a @Before method throws a SkipException -->
380388 <name>configfailurepolicy</name>