Skip to content

[ISSUE #9352] Fix wrong value in topic-group cache #9424

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

Merged
merged 1 commit into from
May 30, 2025

Conversation

golden-yang
Copy link
Contributor

Which Issue(s) This PR Fixes

Fixes wrong value in topic-group cache when registerConsumer #9352

Brief Description

In our use case, we used other methods to manage topic-group mapping, so we missed the test here.

How Did You Test This Change?

In this PR, the unit test is improved, which not only verifies whether the returned result is empty, but also verifies whether the specific value is correct.

@codecov-commenter
Copy link

Codecov Report

All modified and coverable lines are covered by tests ✅

Project coverage is 47.90%. Comparing base (c9ea749) to head (ca4bfa0).

Additional details and impacted files
@@              Coverage Diff              @@
##             develop    #9424      +/-   ##
=============================================
- Coverage      47.92%   47.90%   -0.02%     
- Complexity     11894    11895       +1     
=============================================
  Files           1307     1307              
  Lines          92021    92021              
  Branches       11775    11775              
=============================================
- Hits           44097    44080      -17     
- Misses         42432    42454      +22     
+ Partials        5492     5487       -5     

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

@lizhimins lizhimins changed the title fix: wrong value in topic-group cache [ISSUE #9352] Fix wrong value in topic-group cache May 30, 2025
@lizhimins lizhimins merged commit 577371e into apache:develop May 30, 2025
10 of 11 checks passed
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.

4 participants