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] [test] Add more test for the case that client receives a SendError, which relates to the PR #23038 #23721

Merged
merged 4 commits into from
Dec 16, 2024

Conversation

poorbarcode
Copy link
Contributor

Motivation

#23038 changed the behavior of the PulsarClient in handling SendErrors.

Modifications

Add more tests for the change

  • Create producers with a customized name, to confirm users will not get the error Producer with the same id is already created
  • Create a pulsar client with a value that does not equal 1, to confirm users will not get the error Producer with the same id is already created

Documentation

  • doc
  • doc-required
  • doc-not-needed
  • doc-complete

Matching PR in forked repository

PR in forked repository: x

@poorbarcode poorbarcode added this to the 4.1.0 milestone Dec 12, 2024
@poorbarcode poorbarcode self-assigned this Dec 12, 2024
@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Dec 12, 2024
@codecov-commenter
Copy link

codecov-commenter commented Dec 12, 2024

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 74.41%. Comparing base (bbc6224) to head (3c74801).
Report is 786 commits behind head on master.

Additional details and impacted files

Impacted file tree graph

@@             Coverage Diff              @@
##             master   #23721      +/-   ##
============================================
+ Coverage     73.57%   74.41%   +0.83%     
- Complexity    32624    35083    +2459     
============================================
  Files          1877     1945      +68     
  Lines        139502   147481    +7979     
  Branches      15299    16277     +978     
============================================
+ Hits         102638   109746    +7108     
- Misses        28908    29259     +351     
- Partials       7956     8476     +520     
Flag Coverage Δ
inttests 27.24% <ø> (+2.66%) ⬆️
systests 24.36% <ø> (+0.04%) ⬆️
unittests 73.80% <ø> (+0.95%) ⬆️

Flags with carried forward coverage won't be shown. Click here to find out more.

see 675 files with indirect coverage changes

@poorbarcode poorbarcode merged commit 1113153 into apache:master Dec 16, 2024
53 checks passed
lhotari pushed a commit that referenced this pull request Dec 16, 2024
…ndError, which relates to the PR #23038 (#23721)

(cherry picked from commit 1113153)
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.

6 participants