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

   ## Summary
   
   _Claude Code on behalf of apupier_
   
   Fix flaky `ElasticsearchBulkIT` (48% flaky rate, 47/98 runs failing per 
[Develocity 
dashboard](https://develocity.apache.org/scans/tests?search.rootProjectNames=camel&tests.sortField=FLAKY)).
   
   **Root cause:** All Elasticsearch IT classes shared a hardcoded `twitter` 
index name. `ElasticsearchIndexIT` explicitly deletes this index during its 
tests (`testIndexDeleteWithBuilder` / `testIndexDeleteWithString`), causing 
interference when tests run in parallel or in certain orders.
   
   **Fix:** Each test class now uses its own unique index name to eliminate 
cross-class interference:
   - `ElasticsearchBulkIT`: `bulk`
   - `ElasticsearchIndexIT`: `idx`
   - `ElasticsearchGetSearchDeleteExistsUpdateIT`: `get-search`
   - `ElasticsearchClusterIndexIT`: `cluster`
   
   Note: `ElasticsearchScrollSearchIT` and `ElasticsearchSizeLimitIT` already 
used unique index names (`scroll-search` / `split-scroll-search` and 
`size-limit` respectively) and were not affected.
   
   ## Test plan
   
   - [ ] CI passes with all Elasticsearch integration tests green
   - [ ] Verify `ElasticsearchBulkIT` no longer flaky on repeated runs
   - [ ] Verify no regression in other Elasticsearch IT classes
   
   🤖 Generated with [Claude Code](https://claude.com/claude-code)


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