gnodet opened a new pull request, #24620: URL: https://github.com/apache/camel/pull/24620
## Summary Fix flaky `OpensearchIndexIT` integration test that fails intermittently on CI with `cluster_block_exception: index [twitter] blocked by: [TOO_MANY_REQUESTS/12/disk usage exceeded flood-stage watermark, index has read-only-allow-delete block]`. **Develocity flaky rate:** 7 failed + 7 flaky out of 215 runs in the last 12 days (~6.5% failure rate). All 5 test methods in the class are affected with the same root cause. **Root cause:** On CI machines with limited disk space, the OpenSearch test container's disk usage exceeds the flood-stage watermark. When this happens, OpenSearch puts all indices into read-only-allow-delete mode, causing all write operations (Index, DeleteIndex, Exists) to fail with HTTP 429 Too Many Requests. **Fix:** - Disable disk allocation watermarks (`cluster.routing.allocation.disk.threshold_enabled=false`) in the OpenSearch test container configuration so it never blocks writes due to disk pressure - Add `@AfterEach` cleanup in `OpensearchIndexIT` to delete the "twitter" index after each test, preventing data accumulation across test methods ## Test plan - [ ] CI build passes with the OpenSearch integration tests - [ ] Verify no more `disk usage exceeded flood-stage watermark` failures in subsequent CI runs _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]
