Croway opened a new pull request, #2105:
URL: https://github.com/apache/camel-spring-boot/pull/2105

   ## Summary
   
   `JdbcOrphanLockAwareIdempotentRepositoryTest.testLockKeepAliveWorks` fails 
in the Camel-Spring-Boot Daily build with a `ConditionTimeoutException` since 
[CAMEL-27013](https://issues.apache.org/jira/browse/CAMEL-27013) 
(apache/camel#30162) is in the Camel 4.24.0-SNAPSHOT.
   
   With that fix, `JdbcOrphanLockAwareIdempotentRepository` never treats a key 
it holds as an orphan, whatever the age of its lease. The test set the 
`createdAt` of its own key five minutes back and waited for 
`contains("FILE_4")` to return false on the same instance, which no longer 
happens.
   
   The test now checks the lease from a second repository instance, as the 
`camel-sql` test does since apache/camel#30162: that instance sees the aged key 
as an orphan, and as held again after the keep-alive of the first instance. 
Test only.
   
   ## Testing
   
   In `components-starter/camel-sql-starter`, against the Camel snapshot 
`4.24.0-20261116.143507-36`:
   
   - the test before this change fails with the same timeout;
   - with this change `JdbcOrphanLockAwareIdempotentRepositoryTest` passes (5 
tests).
   
   _Claude Code (Fable 5.2) on behalf of Federico Mariani_
   


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