DO NOT REPLY TO THIS EMAIL, BUT PLEASE POST YOUR BUG RELATED COMMENTS THROUGH THE WEB INTERFACE AVAILABLE AT <http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23150>. ANY REPLY MADE TO THIS MESSAGE WILL NOT BE COLLECTED AND INSERTED IN THE BUG DATABASE.
http://nagoya.apache.org/bugzilla/show_bug.cgi?id=23150 JUnitTask does not mark timed out tests as failed when forked ------- Additional Comments From [EMAIL PROTECTED] 2003-09-14 10:57 ------- please also verify the case when an error in the testcase occurs w/o timeout occuring. (i.e change the code of the simple test case to throw an uncaught exception and let the timeout not occur) when running with the haltonfailure option and printsummary options on I get the following output: [EMAIL PROTECTED] ant]$ /opt/java/apache-ant-1.5.4/bin/ant -file test.xml Buildfile: test.xml all: [junit] Running Test2 BUILD FAILED file:/data/jkf_nobak/ant_eclipse/workspace/ant/test.xml:4: Test Test2 failed (timeout) Total time: 7 seconds (So no summary, but BUILD FAILED and not the SUCCESS you reported.) If I give the testcase the time to fail I get: [EMAIL PROTECTED] ant]$ /opt/java/apache-ant-1.5.4/bin/ant -file testl.xml Buildfile: testl.xml all: [junit] Running Test2 [junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 10.619 sec BUILD FAILED file:/data/jkf_nobak/ant_eclipse/workspace/ant/testl.xml:4: Test Test2 failed Total time: 12 seconds So there seam to be 2 issues: 1 you don't get a summary - reproduced and fixed in patch (separate bug 23160) and 1 the build does not fail - not reproduced. --------------------------------------------------------------------- To unsubscribe, e-mail: [EMAIL PROTECTED] For additional commands, e-mail: [EMAIL PROTECTED]