arquillian-examples
arquillian-examples copied to clipboard
Making "arquillian-jbossas-managed" work correctly
Adding the arquillian systemProperties "jbossas-managed" in order for profile "arquillian-jbossas-managed" to work.
Is there a reason why this pull request doesn't get merged? I just stumbled upon the same issue. If you run the arquillian-persistence-tutorial example by using...
mvn clean test -Parquillian-jbossas-managed
...as described in the guide the test fails with the following error:
WARNING: Configuration contain properties not supported by the backing object org.jboss.as.arquillian.container.managed.ManagedContainerConfiguration
Unused property entries: {resourcesXml=
src/test/resources-glassfish-embedded/glassfish-resources.xml
}
Supported property names: [managementPort, javaVmArguments, javaHome, username, managementAddress, allowConnectingToRunningServer, serverConfig, jbossHome, outputToConsole, enableAssertions, startupTimeoutInSeconds, password, modulePath]
Tests run: 1, Failures: 0, Errors: 1, Skipped: 0, Time elapsed: 0.461 sec <<< FAILURE!
Results :
Tests in error:
org.arquillian.example.GamePersistenceTest: jbossHome 'null' must exist
Since there is no explicit arquillian.launch property declared the test picks up the default container from arquillian.xml which is "glassfish-embedded" in this case.
+1