-
Notifications
You must be signed in to change notification settings - Fork 3.6k
New issue
Have a question about this project? # for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “#”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? # to your account
[fix][test] Fix flaky GetPartitionMetadataMultiBrokerTest.testCompatibilityDifferentBrokersForNonPersistentTopic #23259
Merged
lhotari
merged 1 commit into
apache:master
from
hanmz:fix/flaky-GetPartitionMetadataMultiBrokerTest
Oct 9, 2024
Merged
[fix][test] Fix flaky GetPartitionMetadataMultiBrokerTest.testCompatibilityDifferentBrokersForNonPersistentTopic #23259
lhotari
merged 1 commit into
apache:master
from
hanmz:fix/flaky-GetPartitionMetadataMultiBrokerTest
Oct 9, 2024
Conversation
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
…bilityDifferentBrokersForNonPersistentTopic
Technoboy-
reviewed
Sep 5, 2024
...broker/src/test/java/org/apache/pulsar/broker/admin/GetPartitionMetadataMultiBrokerTest.java
Show resolved
Hide resolved
@Technoboy- PLAT~ |
lhotari
approved these changes
Oct 9, 2024
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM, thanks for fixing @hanmz
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #23259 +/- ##
============================================
+ Coverage 73.57% 74.28% +0.70%
- Complexity 32624 34873 +2249
============================================
Files 1877 1949 +72
Lines 139502 146867 +7365
Branches 15299 16168 +869
============================================
+ Hits 102638 109094 +6456
- Misses 28908 29359 +451
- Partials 7956 8414 +458
Flags with carried forward coverage won't be shown. Click here to find out more. |
4 tasks
nikhil-ctds
pushed a commit
to datastax/pulsar
that referenced
this pull request
Oct 15, 2024
…bilityDifferentBrokersForNonPersistentTopic (apache#23259) (cherry picked from commit c891eaa) (cherry picked from commit cddb3ac)
srinath-ctds
pushed a commit
to datastax/pulsar
that referenced
this pull request
Oct 16, 2024
…bilityDifferentBrokersForNonPersistentTopic (apache#23259) (cherry picked from commit c891eaa) (cherry picked from commit cddb3ac)
hanmz
added a commit
to hanmz/pulsar
that referenced
this pull request
Feb 12, 2025
…bilityDifferentBrokersForNonPersistentTopic (apache#23259)
# for free
to join this conversation on GitHub.
Already have an account?
# to comment
Labels
cherry-picked/branch-3.0
cherry-picked/branch-3.3
doc-not-needed
Your PR changes do not impact docs
release/blocker
Indicate the PR or issue that should block the release until it gets resolved
release/3.0.8
release/3.3.3
type/flaky-tests
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Motivation
The root cause of this problem is that the
getBroker
method is asynchronous. When the methodgetLookupRequestPermits
is called, thelookupRequestSemaphore
may not have been released yet.Modifications
Wait for the
getBroker
method to complete before continuingDocumentation
doc
doc-required
doc-not-needed
doc-complete