Arquillian server startup timeout should be configurable in tests
-----------------------------------------------------------------
Key: JBTM-2633
URL:
https://issues.jboss.org/browse/JBTM-2633
Project: JBoss Transaction Manager
Issue Type: Task
Components: Testing
Affects Versions: 5.2.14.Final
Reporter: Ondřej Chaloupka
Assignee: Ondřej Chaloupka
Fix For: 5.3.2.Final
Arquillian configuration for tests which lays in _arquillian.xml_ currently does not
permit changing timeou for server startup. Default timeout for server startup is 60
seconds. If server is not up and running till that time Arquillian stops the serve process
and {{LifecycleException}} is thrown informing that server was not started.
If tests (like txbridge or xts) are run with container which uses _jdbc object store_ and
connection to database is slow. It could happen that 60 seconds is not enough for serve
being started and tests start to fail. The easy solution is to wait a bit more for server
would be started.
Then add configuration property {{startupTimeoutInSeconds}} to {{arquillian.xml}} files
which are configured to start jboss/wildfly server and let user to configure the option.