Closed gamerson closed 7 years ago
I debugged this a bit and turns out that the JMXTestRunner
being registered twice for each deployment was causing this to fail. So I just modified the registering of the JMXTestRunner beans to add a suffix based on the BSN. This fixed the error I was seeing with the FunctionalTest here: https://github.com/gamerson/arquillian-workspace-example/blob/master/modules/sample-portlet/src/testIntegration/java/sample/portlet/test/SamplePortletFunctionalTest.java
I'm trying to use this extension in a multi-project gradle build here: https://github.com/gamerson/arquillian-workspace-example
When I run the testIntegration task of the sample-portlet module, it is configured to use 2 deployments, see here: https://github.com/gamerson/arquillian-workspace-example/blob/master/modules/sample-portlet/src/testIntegration/java/sample/portlet/test/SamplePortletFunctionalTest.java#L50-L62
I'm not sure if this is using arquillian correctly, but it seems to error
Seems that the ArquillianBundleActivator is starting some jboss.arquillian:service service that already exists?