is necessary for me to debug these tests and easily run all the other tests. (By 'hang', I mean get into a state where clients run forever complaining that there are not enough servers.) Wrapping with timeouts is done both at the Junit level (i.e., "@Test(timeout = ...") and at the ant level (i.e., for an entire unit test). Switched the tests I was touching to use Junit4 idiom rather than Junit3 idiom. I.e., removed the 'extends TestCase' from the class declaration. Upped the memory allowed for all junit tets in ant from 1024m to 2048m since I ran into ant out of memory errors.
junit ant targets. The report is useful because for a test class with many sub-tests, the report clearly explains which sub-tests failed. Unlike other ant junit targets, this target also produce a plain text report. The plain text report is useful for running a single test in a loop until it fails. Clarified the help message for the 'junit-test' ant target.