I need to run FlexUnit test on TemCity (agent).
When running FlexUnit tests by flex-mojo maven plugin it loads FlashPlayer instance, but FlashPlayer needs display to run itself.
When I run maven in terminal under X session or under Windows - it works just fine.
When I run maven from TeamCity (which runs with or without a display) - it constatly fails: when ran from agent, maven can't instantiate FlashPlayer.
The question is: how I can configure TeamCity to run agent in screen mode, so it will be able to run FlashPlayer?
Maven reported next error:
Loading configuration file C:\TeamCity\buildAgent\work\741796eb2b4d6e6a\e2f\e2f-client\target\classes\config.xml
opened server socket
timeout waiting for flexunit report
Embedded error: Accept timed out
Thanx a lot.