Don't print log to console if tests are run by Maven.

It got too large for Travis. If you need the log, you can run the failing test locally, e.g. in your IDE.
This commit is contained in:
Andreas Schildbach 2016-01-25 22:18:09 +01:00
parent 593d92390b
commit 428702b50d
2 changed files with 8 additions and 0 deletions

View File

@ -323,6 +323,12 @@
<configuration>
<argLine>${surefireArgLine}</argLine> <!-- This is required for code coverage to work. -->
<runOrder>alphabetical</runOrder>
<systemProperties>
<property>
<name>java.util.logging.config.file</name>
<value>src/test/resources/logging.properties</value>
</property>
</systemProperties>
</configuration>
</plugin>

View File

@ -0,0 +1,2 @@
handlers=java.util.logging.ConsoleHandler
org.bitcoinj.level=OFF