1 Replies Last post: Feb 4, 2010 3:56 PM by Yegor Yarko  
Ray Navarette Newbie 79 posts since
Dec 7, 2007
Currently Being Moderated

Jan 25, 2010 11:12 PM

Limit JUnit Logging

Is there any way to limit the amount printed to the build log by TeamCity's JUnit?  Some of our tests print A LOT of extra output to System.out.  This is useful for debugging, so, we don't necessarily want to get rid of it.  Using ANT, we get around crowded build logs by using two formatters.  One, XML, hase all of this info and we run a JUnit report after the tests so we have the debugging info if needed.  The other formatter used is for printing to the console just a summary and prints only 2 lines per test.  Is there any way to similarly control TeamCity to reduce the logging?  Because of the amount of tests for some configurations, the full build log can become HUGE (25+ MB) and takes forever to load/download.

 

Thanks,

ray

Yegor Yarko JetBrains 1,429 posts since
May 5, 2004
Currently Being Moderated
Feb 4, 2010 3:56 PM in response to: Ray Navarette
Re: Limit JUnit Logging

Ray,

 

I'm afraid there is no way to drop the output reported by tests from the build log unless you use another runner then Ant. Fiil free to file an issue request for this.

 

Workaround would be to run your build using command-line runner and importing test results using XML report functionality, but I am not sure this approach is suitable.

 

Generally, build logs of 30Mb size should be processed without big issues. Were do you experience the most significant slow down? What do you mean by slow "load"?

 

BTW, what Teamcity version do you use?

 

There were some fixes for displaying build results with buildlarge test output in TeamCity 5.0. If you plan to upgrade, it might improve.

More Like This

  • Retrieving data ...