Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
wants to merge 1 commit into
base: master
Choose a base branch
from

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.

None yet

3 participants