ant-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
Subject [Bug 55879] formatter doesn't log stdout messages unless Test Suite is completed
Date Sun, 15 Dec 2013 11:35:35 GMT

Michael Clarke <> changed:

           What    |Removed                     |Added
                 OS|                            |All

--- Comment #1 from Michael Clarke <> ---
This is caused by the PlainJUnitResultFormatter not calling flush following
each print, although that in itself isn't a bad thing as it prevents blocking
on every action whilst any underlying output stream is flushed.

You can overcome this if you want by duplicating the PlainJUnitResultFormatter
and calling flush after each write or writeln, or by creating a wrapper that
intercepts the setOuput and setError calls and either flushes them on timer, or
also intercepts the various reporting calls and calling flush on the output
streams after calling the original (super) reporting methods.

You are receiving this mail because:
You are the assignee for the bug.

View raw message