essobedo opened a new pull request, #10234:
URL: https://github.com/apache/camel/pull/10234

   Fixes https://issues.apache.org/jira/browse/CAMEL-19400
   
   ## Motivation
   
   The build on Jenkins takes between 7h and 8h which is much too long 
especially when we know that the max duration allowed is about 9 h.
   
   So the idea of these changes is to reduce the duration of the integration 
tests of the elasticsearch component by merging all the integration tests into 
a single integration test class. The all integration test classes are converted 
into nested classes, this way `testcontainers` only starts a docker container 
of ES once for all instead of once for each integration test class.
   
   ## Modifications:
   
   * Changes the behavior of `camel-test-infra-common` to only initialize and 
shutdown when it is called for outer classes
   * Converts all integration test classes into nested classes of the same 
outer class
   
   ## Result:
   
   In my local machine, with the old approach, the tests take about 200 seconds 
while it now takes about 40 seconds.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: commits-unsubscr...@camel.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org

Reply via email to