-
Notifications
You must be signed in to change notification settings - Fork 3.6k
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 ReplicatorRateLimiterTest #23369
[fix][test] Fix ReplicatorRateLimiterTest #23369
Conversation
It seems that this failed test was not detected by CI. At least it was not exposed in the latest PR: We'd better ensure this test failure can be detected by CI, even if it's not required. @lhotari Do you have any idea? |
pulsar-broker/src/test/java/org/apache/pulsar/broker/service/ReplicatorRateLimiterTest.java
Outdated
Show resolved
Hide resolved
@BewareMyPower the test is in the quarantine group. The reporting is very unnoticeable at the moment. It's another solution for flaky tests. Tests get run but don't block the build. |
Codecov ReportAll modified and coverable lines are covered by tests ✅
Additional details and impacted files@@ Coverage Diff @@
## master #23369 +/- ##
============================================
+ Coverage 73.57% 74.57% +0.99%
- Complexity 32624 33955 +1331
============================================
Files 1877 1934 +57
Lines 139502 145132 +5630
Branches 15299 15870 +571
============================================
+ Hits 102638 108229 +5591
+ Misses 28908 28614 -294
- Partials 7956 8289 +333
Flags with carried forward coverage won't be shown. Click here to find out more. |
Where do these tests run? Could you point out a workflow for example? |
Motivation
The
ReplicatorRateLimiterTest
will always fail withStackOverflowError
, because in #23322 thegetRateLimiter
always recursive call to itself.Documentation
doc
doc-required
doc-not-needed
doc-complete