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

[fix][test] add unit test to testing the lookupRequestSemaphore would leaked when lookuping topic is not exist. #21670

Merged
merged 1 commit into from
Dec 5, 2023

Conversation

pandalee99
Copy link
Contributor

@pandalee99 pandalee99 commented Dec 5, 2023

Fixes: #21661
PIP: #21646

Motivation

Function internalLookupTopicAsync is invoked by http protocol topic lookup request. The lookupRequestSemaphore would leaked when lookuping topic is not exist.

Now use a unit test to see if it is actually released

Modifications

Add a unit test to simulate this process, and the state should be the same

Documentation

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

@github-actions github-actions bot added the doc-not-needed Your PR changes do not impact docs label Dec 5, 2023
@Technoboy- Technoboy- added this to the 3.2.0 milestone Dec 5, 2023
@Technoboy- Technoboy- merged commit 91c9e0a into apache:master Dec 5, 2023
52 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/test doc-not-needed Your PR changes do not impact docs
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Add a test to cover the fix of #21646
2 participants