ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From bugzi...@apache.org
Subject DO NOT REPLY [Bug 45227] JUnit summary reports bogus running of the last test after a timeout
Date Mon, 11 Aug 2008 13:51:47 GMT
https://issues.apache.org/bugzilla/show_bug.cgi?id=45227


Stefan Bodewig <bodewig@apache.org> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |FIXED
   Target Milestone|---                         |1.8.0




--- Comment #2 from Stefan Bodewig <bodewig@apache.org>  2008-08-11 06:51:47 PST ---
OK, this issue is tricky since Ant doesn't know how much information has
already been logged by some formatters (and it doesn't know which test caused
the timeout either).

I've modified the log output, you'd now get

[junit] Running tests.ATest
[junit] Tests run: 1, Failures: 0, Errors: 0, Time elapsed: 0.125 sec
[junit] Running tests.BTest
[junit] Running tests.Batch-With-Multiple-Tests
[junit] Tests run: 1, Failures: 0, Errors: 1, Time elapsed: 0 sec
[junit] Tests FAILED (timeout)

Right now I don't see anything better we could do (short of changing the
formatter infrastructure).

svn revision 684745


-- 
Configure bugmail: https://issues.apache.org/bugzilla/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are on the CC list for the bug.

Mime
View raw message