On Mon, Feb 3, 2014 at 4:52 AM, Ben Caradoc-Davies <
Ben.Caradoc-Davies@anonymised.com> wrote:
On 01/02/14 04:08, Andrea Aime wrote:
https://s3.amazonaws.com/archive.travis-ci.org/jobs/17985779/log.txt
Sigh... suggestions? Can we silence Maven download reports?
This is normally done by running Maven in batch mode with the "-B" option.
I use this option on all CI jobs I manage.
Pretty interesting, I'll add it to the GeoServer Travis builds!
Also, the app-schema tests seem to be super verbose
They are much quieter than before. We can make them even quieter.
Rini, a small change to AbstractAppSchemaTestSupport.prettyString would
hide most response documents from the logs. I am thinking a system property
that developers could enable if they want to see them.
I believe there is already a system variable you can peek at to see if the
tests are to be run in quiet mode, which is normally set
as you build with Maven, but not if you run the tests from IDE.
GeoServerBaseTestSupport.isQuietTests()
/**
* Checks for existence of a system property named "quietTests".
*/
public static boolean isQuietTests() {
String quietTests = System.getProperty("quietTests");
return quietTests != null && !"false".equalsIgnoreCase(quietTests);
}
I guess you can just call the method above.
Cheers
Andrea
--
== Our support, Your Success! Visit http://opensdi.geo-solutions.it for
more information ==
Ing. Andrea Aime
@geowolf
Technical Lead
GeoSolutions S.A.S.
Via Poggio alle Viti 1187
55054 Massarosa (LU)
Italy
phone: +39 0584 962313
fax: +39 0584 1660272
mob: +39 339 8844549
http://www.geo-solutions.it
http://twitter.com/geosolutions_it
-------------------------------------------------------