Re: strange problems with junit
Sascha Ernst <[email protected]>
| Newsgroups | gmane.comp.java.cruise-control.user |
|---|---|
| Message-ID | <[email protected]> |
Hello, I got to the point, where I can say that’s no cruisecontrol-issue, but an ANT one. In my ANT junit tasks I use(ed) the timeout attribute in combination with the xml resultformatter. This combination seems to be a bit odd. Every time the timeout fires I get this error. So I removed the time-attribute and now: everything works ☺ Regards ///sascha/// Von: Jeffrey Fredrick [mailto:[email protected]] Gesendet: Montag, 22. Juni 2009 16:48 An: [email protected] Betreff: Re: [Cruisecontrol-user] strange problems with junit Sorry, nothing obvious. If the problem doesn't happen every time then it probably isn't a classpath conflict. One thing you can try is setting showProgress and showAntOutput to false as described here: http://cruisecontrol.sourceforge.net/main/configxml.html#ant Might not help but worth a try. Jtf On Tue, Jun 16, 2009 at 6:31 AM, Sascha Ernst <[email protected]<mailto:[email protected]>> wrote: That thing drives me crasy. When I started with the reduced buildscript, the test has been executed. So I added the tests of this package. OK. Test gets executed. Next step: all tests And? No idea why. But the test does not cause this error. So I started the comlete building session. And still no error. Some nights ago, it even worked in the nightly build. Another night, the error occurred again. It is always the same test (where the class to test and the test itselfs are really old and where not changed since a long time) I do not understand this ☹ Btw: yes, I got the command-line from the log: 2009-06-12 00:25:02,351 [Thread-94] DEBUG net.sourceforge.cruisecontrol.util.Commandline - Executing: [C:\Programme\ANT\bin\ant.bat] with parameters: [C:\Programme\ANT\bin\ant.bat], [-logger], [net.sourceforge.cruisecontrol.builders.AntProgressXmlLogger], [-listener], [net.sourceforge.cruisecontrol.builders.AntProgressXmlListener], [-DXmlLogger.file=log.xml], [-listener], [net.sourceforge.cruisecontrol.builders.AntOutputLogger], [-lib], [F:\NightlyBuildSystem\CruiseControl\lib\cruisecontrol-antprogresslogger.jar], [-Dcclastbuildtimestamp=20090611202057], [-Dcvstimestamp=2009-06-11 22:25:02 GMT], [-Dbuildforced=false], [-Dcclastgoodbuildtimestamp=20090611202057], [-Dcctimestamp=20090612002502], [-Dlabel=build.55], [-Dprojectname=Mailminder NBS], [-Dlastbuildsuccessful=true], [-Dtimestamp=${cctimestamp}], [-buildfile], [F:/NightlyBuildSystem/build.xml], [build_complete] Do you see any hint whats going on? regards ///sascha/// ------------------------------------------------------------------------------ _______________________________________________ Cruisecontrol-user mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/cruisecontrol-user