rishabhdaim opened a new pull request, #2787:
URL: https://github.com/apache/jackrabbit-oak/pull/2787
## Summary
Removes all Guava `SettableFuture`, `ListenableFuture`, and `Futures` usages
from `FutureUtilsTest`. Tests previously compared JDK results against Guava
results to verify parity; they now assert directly against known expected
values.
## Changes
- `FutureUtilsTest.java`:
- Removed imports: `Futures`, `ListenableFuture`, `SettableFuture`
- Rewrote all 8 tests to assert against explicit expected values instead
of comparing with Guava equivalents
- `successfulAsList` tests assert `null` for failed futures (matching
documented behaviour)
- `allAsList` failure tests assert that `ExecutionException` is thrown
## Test Plan
- [ ] All 8 `FutureUtilsTest` tests pass
- [ ] No Guava imports remain in the file
## Links
- JIRA: https://issues.apache.org/jira/browse/OAK-12131
--
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]