Page History
...
To debug these tests, one way to go is to start the container the same way as for the manual tests, with mvn clean verify -Pmanual-tests
, and run the tests from the IDE in debug mode.
Somehow, memory issues seem to arise, at least with EE, in the manual-tests mode. This seemed to have helped, not sure which statement exactly:
Code Block |
---|
export JAVA_OPTS="-Xms64M -Xmx1024M -Djava.awt.headless=true"
export JAVA_OPTIONS="-Xms64M -Xmx1024M -Djava.awt.headless=true"
export JETTY_OPTIONS="-Xms64M -Xmx1024M -Djava.awt.headless=true"
export JETTY_OPTS="-Xms64M -Xmx1024M -Djava.awt.headless=true"
|
Generalities
All these tests are executed within the context of a single Jetty instance, which is started by the Cargo plugin of Maven. The current setup deploys two Magnolia instances (magnolia-test-webapp
and magnolia-test-webapp-public
, under the /magnoliaTest
and /magnoliaTestPublic
contexts, respectively) which currently both are an extension of magnolia-empty-webapp
magnolia-module-samples
magnolia-integration-tests-module
, which is containing the pages, templates etc created above, which are used while executing the tests.
...