qickrooms / flex-mojos

Automatically exported from code.google.com/p/flex-mojos
0 stars 0 forks source link

FlexUnitLauncher does not drain the Runtime.exec output buffers, which hangs the tests on Linux #130

Closed GoogleCodeExporter closed 9 years ago

GoogleCodeExporter commented 9 years ago
What steps will reproduce the problem?
1. Try to run FlexUnit tests that issue large amounts of trace or logger output 
on Linux

What is the expected output? What do you see instead?
The tests should work normally, but they can hang the flash player when the 
buffers fill up

Everywhere that we use Runtime.exec we should take care to drain the output 
buffers. See:
http://www.javaworld.com/javaworld/jw-12-2000/jw-1229-traps.html?page=2

Original issue reported on code.google.com by RedB...@gmail.com on 7 Nov 2008 at 7:49

GoogleCodeExporter commented 9 years ago
fixed in 915, currently it will log any trace output from the flash player to 
the maven debug logger (view it with -
X). We may want to consider an option to capture this output to a file for 
easier debugging (or we can just rely on 
the mm.cfg settings for it)

Original comment by RedB...@gmail.com on 24 Nov 2008 at 8:55