ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject DO NOT REPLY [Bug 37241] <junit> tasks that timeout do not perform tearDown if fork="true"
Date Thu, 28 Aug 2008 07:56:50 GMT

Stefan Bodewig <> changed:

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

--- Comment #9 from Stefan Bodewig <>  2008-08-28 00:56:49 PST ---
a modified version has been committed as svn revision 689751.

Please note that the listener's usefulness is pretty limited (and the manual
will say so).

* it runs in a different VM than the original test did

* it can only run if there was just a single test in the forked VM - since
there is no way to determine which test case failed if running multiple tests. 
This also means we can't do anything if the test contains a suite() method

* the listener may see a different classloader than the forked VM and may be
unable to load the test class.

I haven't used you code to deal with nested TestSetups since it used a
different logic than Ant's testrunner itself and thus may identify different
test classes than the runner executed.

Configure bugmail:
------- You are receiving this mail because: -------
You are on the CC list for the bug.

View raw message