blog
Quick Tip: Read timed out …/target/test-classes/TestRunner.swf at Jozef Chúťka's blog
August 1, 2011
Quick Tip: Read timed out …/target/test-classes/TestRunner.swf
There has been a terrible issue blocking maven/flexmojos builds randomly with exception:
[INFO] Read timed out /home/user/project/target/test-classes/TestRunner.swfEven there are some tips how to fix this issue, none of them worked for my case. After all unit tests were removed and one by one added back manualy, I was able to locate the tests causing it. Problematic appeared to be async unit tests and the random factor appeared to be cpu usage. In other words when flashplayer was not able to execute and finish async test, it failed with maven exception. Finally, the day was saved with changed testTimeout value:
<configuration>
<testTimeout>60000</testTimeout>
...
</configuration>Maven version: 2.2, Flexmojos: 3.8, Flex SDK: 4.1.0.16076, FlexUnit: 4.0-rc-1
You may Leave a comment or Subscribe to Comments RSS or Trackback this entry.
1 comment so far
Erno October 3, 2011 14:16 Thanks for the tip! It works!
Leave a comment
Please be polite and on topic. Your e-mail will never be published.