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

   ## Description
   
   The Cassandra Java driver waits for a 2 seconds Netty graceful shutdown 
quiet period (`advanced.netty.io-group.shutdown` / `admin-group.shutdown`, 
default `quiet-period = 2`) on every `CqlSession.close()`. The tests close a 
session after each test (`BaseCassandra.doPostTearDown()`) and 
repositories/endpoints close theirs on stop, so every test paid at least 2 
seconds in teardown.
   
   This adds a test-only `application.conf` setting the quiet period to 0. No 
production code is changed.
   
   ## Measurements
   
   `mvn verify -Pit -pl components/camel-cassandraql` (80 tests, all passing):
   
   | | Total time |
   |---|---|
   | Before | 4:51 min |
   | After | 1:52 min |
   
   Examples: `CassandraKeyValueRepositoryIT` 66s -> 17s, 
`CassandraComponentProducerIT` 32s -> 5.7s.
   
   ## Target
   
   - [x] I checked that the commit is targeting the correct branch (Camel 4 
uses the `main` branch)
   
   ## Tracking
   
   - [x] If this is a large change, bug fix, or code improvement, I checked 
there is a [JIRA issue](https://issues.apache.org/jira/browse/CAMEL-25882) 
filed for the change
   
   ---
   _Claude/IBM Bob 2.2.1 on behalf of Aurélien Pupier (apupier)_


-- 
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: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]

Reply via email to