Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Backport 2.16] Fix IngestServiceTests.testBulkRequestExecutionWithFailures #14927

Merged
merged 1 commit into from
Jul 23, 2024

Conversation

opensearch-trigger-bot[bot]
Copy link
Contributor

Backport 087355f from #14918.

The test would previously fail if the randomness led to only a single
indexing request being included in the bulk payload. This change
guarantees multiple indexing requests in order to ensure the batch logic
kicks in.

Also replace some unneeded mocks with real classes.

Signed-off-by: Andrew Ross <andrross@amazon.com>
(cherry picked from commit 087355f)
Signed-off-by: github-actions[bot] <github-actions[bot]@users.noreply.github.com>
Copy link
Contributor

✅ Gradle check result for 18dce26: SUCCESS

Copy link

codecov bot commented Jul 23, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 71.55%. Comparing base (1c28e4e) to head (18dce26).
Report is 7 commits behind head on 2.16.

Additional details and impacted files
@@             Coverage Diff              @@
##               2.16   #14927      +/-   ##
============================================
- Coverage     71.55%   71.55%   -0.01%     
- Complexity    62652    62658       +6     
============================================
  Files          5117     5117              
  Lines        293928   294052     +124     
  Branches      42833    42848      +15     
============================================
+ Hits         210319   210402      +83     
- Misses        65975    65995      +20     
- Partials      17634    17655      +21     

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

@andrross andrross merged commit 8bb4290 into 2.16 Jul 23, 2024
54 of 55 checks passed
@andrross andrross deleted the backport/backport-14918-to-2.16 branch July 23, 2024 20:35
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.

1 participant