You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@ant.apache.org by bu...@apache.org on 2007/12/09 23:40:33 UTC

DO NOT REPLY [Bug 35634] - junit task timeout fails to write log information to xml and brief formatters

DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG�
RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT
<http://issues.apache.org/bugzilla/show_bug.cgi?id=35634>.
ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND�
INSERTED IN THE BUG DATABASE.

http://issues.apache.org/bugzilla/show_bug.cgi?id=35634





------- Additional Comments From stevel@apache.org  2007-12-09 14:40 -------
This is a known issue of the fact that the XML format includes summary
attributes on the root element; the test result formatter builds up a DOM in
memory and saves it on success.

when the JVM is killed, no file, so no diagnostics.

a brand new XML format would fix this, but there's no easy way to do an
stream-to-disk version of the current format.

What we could do is add an option to save the (incomplete) DOM to disk after
every test. This is something you could turn on with a java property in the test
process. It would make big test runs slower, but let people diagnose what the
last test that finished was, and from that, infer what went wrong. 

-- 
Configure bugmail: http://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the assignee for the bug, or are watching the assignee.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@ant.apache.org
For additional commands, e-mail: dev-help@ant.apache.org