Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Added reference for integration tests ports for bundles/branches

...

  • Testing of activation that activates content and checks for results
  • Crawling test that requests all the pages and checks for rendering exceptions
  • Log crawling test that reads logs and checks for rendering exceptions.
Concurrent builds for bundles on Jenkins

Integration tests run concurrently on Jenkins for CE and EE bundles, and for our various branches (5.0.x up to master). Therefore each branch/bundle must use its own ports for starting up Jetty and e.g. sending shutdown signals through the Cargo wrapper.
Here are the ports in use for our current builds:

 CE bundleEE bundle 
containerHttpPortcargoRmiPortcontainerHttpPortcargoRmiPort
bundle-5.0.x80778076--
bundle-5.1.x8099809890999098
bundle-5.2.x8199819891999198
bundle-master (5.3)8299829892999298

Configuration for these ports is located in:

  • magnolia-integration-tests/tests/pom.xml, properties <containerHttpPort> and <cargoRmiPort>
    • automated tests, manual tests for IntelliJ IDEA
  • info.magnolia.testframework.AbstractMagnoliaIntegrationTest => DEFAULT_DOMAIN
    • manual tests for eclipse

(warning) When branching a bundle's master to the next major version, one should update these ports according to the pattern in the table above. 

 

Debugging

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:

...