Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

  • 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 
containerHttpPortcargoRmiPortcargoTomcatAjpPortcontainerHttpPortcargoRmiPortcargoTomcatAjpPort
bundle-4.5.x80678066 
90679066 
bundle-5.0.x80778076 
-- 
bundle-5.1.x80998098 
90999098 
bundle-5.2.x81998198 
91999198 
bundle-5.3.x82998298 
92999298 
bundle-5.4.x839983988397939993989397
bundle-master (5.5).x849984988497949994989497
bundle-master (5.5)859985988597959995989597
teams/platform75297528 
-- 
teams/cms82678266 
92679266 
teams/integration84688467 
94689467 
bundle-debug666766666665

7771

7772

7773
bundle-5.4.x-cp13n-- 
939093899388

Configuration for these ports is located in:

...

(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:

...