Closed lucasweb78 closed 8 years ago
If I don't they are not automatically started even though they are linked to by Wildfly.
This issue should address that problem: https://github.com/arquillian/arquillian-cube/issues/162
Both use cases are legit, and to be honest STARTORCONNECT is suppose to cover them.. but it seems we have some 'flag soup' when combined with autoStart :)
I'm trying two support to use cases:
My arquillian.xml contains the following:
In order to satisfy use case 1 I need to specify that I want to auto-start mysql and activemq using the autoStartContainers property. If I don't they are not automatically started even though they are linked to by Wildfly
In order to satisfy use case 2 I need to set the connectionMode to 'STARTORCONNECT' in order to connect to the running containers. The problem is that if I have autoStartContainers set and the containers are running Arquillian cube fails with the following error:
Removing autoStartContainers resolves this issue but then use case 1 no longer works.
I was also hoping to be able to manually start the wildfly container and have cube connect to it and execute the tests in it, but this does not see possible. It seems I have to let cube start and stop the container for me.