amaechler opened a new pull request, #19527:
URL: https://github.com/apache/druid/pull/19527

   ### Description
   
   This PR bumps two dependencies, `caffeine` (`2.9.3 to 3.2.4`), and 
`errorprone` (`2.41.0 to 2.49.0`). They update goes together because `caffeine` 
pulls in `error_prone_annotations` transitively, which violates 
`requireUpperBoundDeps` without the `errorprone` bump.
   
   #### Rewrote CaffeineCacheTest.testSizeEviction
   
   The old test assumed that when the cache exceeded its size limit, the 
first-inserted entry was always the one evicted, but caffeine 3's eviction 
policy can keep either entry based on access frequency. The rewrite asserts 
only that eviction happened and the cache stayed within its size bound, not 
which specific key was kept.
   
   <hr>
   
   This PR has:
   
   - [ ] been self-reviewed.
   - [ ] a release note entry in the PR description.
   - [x] added or updated version, license, or notice information in 
[licenses.yaml](https://github.com/apache/druid/blob/master/dev/license.md)
   - [x] added unit tests or modified existing tests to cover new code paths, 
ensuring the threshold for [code 
coverage](https://github.com/apache/druid/blob/master/dev/code-review/code-coverage.md)
 is met.


-- 
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]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to