Skip to content

Conversation

@guojialiang92
Copy link
Contributor

Description

Fix flaky test IngestServiceTests#testExecuteBulkRequestInBatchWithExceptionAndDropInCallback_requestsWithMatchingChildSlots.

Related gradle test.

Related Issues

Resolves #[18622]

Check List

  • Functionality includes testing.
  • API changes companion pull request created, if applicable.
  • Public documentation issue/PR created, if applicable.

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

@guojialiang92 guojialiang92 requested a review from a team as a code owner June 26, 2025 08:15
@ashking94
Copy link
Member

@guojialiang92 have we run this test for multiple iterations and see that this does not fail even after 1K (more the merrier) iterations?

Copy link
Member

@ashking94 ashking94 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

lgtm

@ashking94 ashking94 changed the title fix flaky test IngestServiceTests#testExecuteBulkRequestInBatchWithExceptionAndDropInCallback_requestsWithMatchingChildSlots Fix flaky test in IngestServiceTests Jun 26, 2025
@github-actions
Copy link
Contributor

✅ Gradle check result for 89f1bed: SUCCESS

@codecov
Copy link

codecov bot commented Jun 26, 2025

Codecov Report

Attention: Patch coverage is 0% with 2 lines in your changes missing coverage. Please review.

Project coverage is 72.68%. Comparing base (87022b7) to head (89f1bed).
Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
...main/java/org/opensearch/ingest/IngestService.java 0.00% 2 Missing ⚠️
Additional details and impacted files
@@             Coverage Diff              @@
##               main   #18623      +/-   ##
============================================
+ Coverage     72.66%   72.68%   +0.01%     
- Complexity    68231    68254      +23     
============================================
  Files          5555     5556       +1     
  Lines        313857   313887      +30     
  Branches      45522    45529       +7     
============================================
+ Hits         228073   228136      +63     
+ Misses        67207    67164      -43     
- Partials      18577    18587      +10     

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@ashking94 ashking94 merged commit d215f27 into opensearch-project:main Jun 26, 2025
35 of 37 checks passed
tandonks pushed a commit to tandonks/OpenSearch that referenced this pull request Aug 5, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants