Repository navigation
[fix][flaky-test] PersistentStreamingDispatcherBlockConsumerTest.testBrokerSubscriptionRecovery - #17418
Closed
poorbarcode wants to merge 2 commits into
Closed
[fix][flaky-test] PersistentStreamingDispatcherBlockConsumerTest.testBrokerSubscriptionRecovery#17418poorbarcode wants to merge 2 commits into
poorbarcode wants to merge 2 commits into
Conversation
Closed
2 of 5 tasks
Contributor
Author
Contributor
Author
|
Try to expand the wait time to receive messages |
Contributor
Author
|
@mattisonchao will fix the problem of |
Closed
1 of 2 tasks
Member
Since we have a great number of tests, this approach can hardly work. Because if every test tries to wait for a long time, the resource is consumed more eagerly and more tests become unstable due to they don't get enough time to run. ... and we have a global timeout for each GitHub Actions workflow run, so we just cannot wait forever. |
This file contains hidden or 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
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
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.
Fix:
Motivation
test example: https://github.com/apache/pulsar/runs/8128077384?check_suite_focus=true
Why flaky
This test, uses the index to compare the messages, but the order of received messages is not guaranteed:
SharedModifications
Documentation
doc-requireddoc-not-neededdocdoc-complete