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

   ## Summary
   
   Fix four flaky tests identified by Develocity analytics:
   
   1. **SSLContextParametersTest** (10% failure rate) — 
`testSignatureSchemesFilter` fails on JDK 24+ because 
`SSLParameters.getSignatureSchemes()` now returns the default schemes list 
instead of null. Fix: accept both null (JDK ≤23) and populated array (JDK 24+).
   
   2. **BacklogTracerActivityTest** (7.5% failure rate) — Three test methods 
fail intermittently because the `enabled`/`standby`/`activityEnabled` fields in 
`BacklogTracer` are non-volatile, causing JIT register caching and stale reads 
across threads under parallel test execution. Fix: make these fields `volatile`.
   
   3. **CxfTimeoutTest** (4% failure rate) — `testInvokingFromCamelRoute` fails 
when the 2s server sleep is too close to the 100ms client timeout under CI 
load. Fix: increase server sleep to 10s to reliably trigger the timeout.
   
   4. **SpringQuartzPersistentStoreRestartAppChangeOptionsTest** (4% failure 
rate) — JMX MBean name collision when concurrent test classes create 
CamelContexts with the same management name. Fix: add `@Isolated` annotation.
   
   ## Test plan
   
   - [x] `SSLContextParametersTest#testSignatureSchemesFilter` passes on JDK 25
   - [x] `CxfTimeoutTest` — all 6 test methods pass
   - [x] `SpringQuartzPersistentStoreRestartAppChangeOptionsTest` — all 3 test 
methods pass
   - [x] `BacklogTracer.java` compiles successfully (`camel-management` has a 
pre-existing compilation failure on `main` unrelated to this change)
   - [ ] CI green
   
   _Claude Code on behalf of gnodet_


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