Skip to content

Making "arquillian-jbossas-managed" work correctly#3

Open
anthony-o wants to merge 1 commit intoarquillian:masterfrom
anthony-o:master
Open

Making "arquillian-jbossas-managed" work correctly#3
anthony-o wants to merge 1 commit intoarquillian:masterfrom
anthony-o:master

Conversation

@anthony-o
Copy link

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

… profile "arquillian-jbossas-managed" to work
@rreimann
Copy link

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.

@b0gg4rd
Copy link

b0gg4rd commented Jul 9, 2017

+1

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants