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

Improve Error Handling in BatchSender Test #12178

Open
wants to merge 2 commits into
base: main
Choose a base branch
from

Conversation

sonalgaud12
Copy link
Contributor

Description

This PR improves error handling and robustness in the TestBatchSender_InvalidMergeSplitFunc test, which was flaky on Windows due to timing and asynchronous issues. The changes ensure more reliable test execution by introducing explicit error checks and additional assertions for request and item counts. It also adds better logging and robust timeout handling.

Link to tracking issue

Fixes #10841

@sonalgaud12 sonalgaud12 requested review from bogdandrutu, dmitryax and a team as code owners January 24, 2025 09:46
Copy link

codecov bot commented Jan 24, 2025

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 91.75%. Comparing base (2447a81) to head (54af44b).

Additional details and impacted files
@@           Coverage Diff           @@
##             main   #12178   +/-   ##
=======================================
  Coverage   91.75%   91.75%           
=======================================
  Files         464      464           
  Lines       24763    24763           
=======================================
  Hits        22722    22722           
  Misses       1656     1656           
  Partials      385      385           

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

flaky test TestBatchSender_InvalidMergeSplitFunc on windows
1 participant