arquillian-examples icon indicating copy to clipboard operation
arquillian-examples copied to clipboard

Making "arquillian-jbossas-managed" work correctly

Open anthony-o opened this issue 12 years ago • 2 comments

Adding the arquillian systemProperties "jbossas-managed" in order for profile "arquillian-jbossas-managed" to work.

anthony-o avatar Jun 05 '12 13:06 anthony-o

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.

rreimann avatar May 14 '13 11:05 rreimann

+1

b0gg4rd avatar Jul 09 '17 01:07 b0gg4rd