-
Notifications
You must be signed in to change notification settings - Fork 3.7k
[fix][test] Fix flaky BrokerServiceChaosTest.testFetchPartitionedTopicMetadataWithCacheRefresh #24161
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] Fix flaky BrokerServiceChaosTest.testFetchPartitionedTopicMetadataWithCacheRefresh #24161
Conversation
Signed-off-by: Zixuan Liu <[email protected]>
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.
Copilot reviewed 1 out of 1 changed files in this pull request and generated 1 comment.
...rc/test/java/org/apache/pulsar/broker/service/CanReconnectZKClientPulsarServiceBaseTest.java
Show resolved
Hide resolved
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #24161 +/- ##
============================================
+ Coverage 73.57% 74.20% +0.63%
+ Complexity 32624 32116 -508
============================================
Files 1877 1864 -13
Lines 139502 144470 +4968
Branches 15299 16483 +1184
============================================
+ Hits 102638 107204 +4566
+ Misses 28908 28798 -110
- Partials 7956 8468 +512
Flags with carried forward coverage won't be shown. Click here to find out more. 🚀 New features to boost your workflow:
|
…cMetadataWithCacheRefresh (#24161) Signed-off-by: Zixuan Liu <[email protected]> Co-authored-by: Lari Hotari <[email protected]>
…cMetadataWithCacheRefresh (#24161) Signed-off-by: Zixuan Liu <[email protected]> Co-authored-by: Lari Hotari <[email protected]> (cherry picked from commit 9bcad7c)
…cMetadataWithCacheRefresh (#24161) Signed-off-by: Zixuan Liu <[email protected]> Co-authored-by: Lari Hotari <[email protected]> (cherry picked from commit 9bcad7c)
…cMetadataWithCacheRefresh (apache#24161) Signed-off-by: Zixuan Liu <[email protected]> Co-authored-by: Lari Hotari <[email protected]> (cherry picked from commit 9bcad7c) (cherry picked from commit 59a2218)
…cMetadataWithCacheRefresh (apache#24161) Signed-off-by: Zixuan Liu <[email protected]> Co-authored-by: Lari Hotari <[email protected]> (cherry picked from commit 9bcad7c) (cherry picked from commit 59a2218)
…cMetadataWithCacheRefresh (apache#24161) Signed-off-by: Zixuan Liu <[email protected]> Co-authored-by: Lari Hotari <[email protected]>
…cMetadataWithCacheRefresh (apache#24161) Signed-off-by: Zixuan Liu <[email protected]> Co-authored-by: Lari Hotari <[email protected]> (cherry picked from commit 0634170)
…cMetadataWithCacheRefresh (apache#24161) Signed-off-by: Zixuan Liu <[email protected]> Co-authored-by: Lari Hotari <[email protected]> (cherry picked from commit 0634170)
…cMetadataWithCacheRefresh (apache#24161) Signed-off-by: Zixuan Liu <[email protected]> Co-authored-by: Lari Hotari <[email protected]> (cherry picked from commit 0634170)
…cMetadataWithCacheRefresh (apache#24161) Signed-off-by: Zixuan Liu <[email protected]> Co-authored-by: Lari Hotari <[email protected]> (cherry picked from commit 0634170)
…cMetadataWithCacheRefresh (apache#24161) Signed-off-by: Zixuan Liu <[email protected]> Co-authored-by: Lari Hotari <[email protected]> (cherry picked from commit 0634170)
…cMetadataWithCacheRefresh (apache#24161) Signed-off-by: Zixuan Liu <[email protected]> Co-authored-by: Lari Hotari <[email protected]> (cherry picked from commit 9bcad7c)
Fixes #24160
Motivation
stopLocalMetadataStoreAlwaysReconnect
should wait for the zk to reconnect.Modifications
Listen for metadata store session events, and upon invoking
stopLocalMetadataStoreAlwaysReconnect
, wait until aReconnected
is received before proceeding."Documentation
doc
doc-required
doc-not-needed
doc-complete