Jason918 opened a new pull request #12954:
URL: https://github.com/apache/pulsar/pull/12954


   Fixes #12883
   
   ### Motivation
   
   As mentioned in 
https://github.com/apache/pulsar/issues/12883#issuecomment-976619244.
   In 
PersistentStreamingDispatcherBlockConsumerTest.testBlockBrokerDispatching, 
there are still some flaky case other than timeout issue which fixed in #12943 
   
   ### Modifications
   
   1. For 6 known cases in DispatcherBlockConsumerTest.java:820, change 
`receive(timeout)` to `receive()`. If it does timeout, then test should fail.
   2. For 1 known cases in DispatcherBlockConsumerTest.java:803, change 
`receive(timeout)` to `receive()` won't work. So increase timeout for now.
   3. In case of other potential flaky case caused by receive timeout, increase 
the base receive timeout from 100ms to 500ms for all cases.
   
   ### Verifying this change
   
   - [ ] Make sure that the change passes the CI checks.
   
   
   This change is already covered by existing tests.
   
   ### Does this pull request potentially affect one of the following parts:
   
   *If `yes` was chosen, please highlight the changes*
   
     - Dependencies (does it add or upgrade a dependency): (no)
     - The public API: (no)
     - The schema: (no)
     - The default values of configurations: (no)
     - The wire protocol: (no)
     - The rest endpoints: (no)
     - The admin cli options: (no)
     - Anything that affects deployment: (no)
   
   ### Documentation
   
   Check the box below and label this PR (if you have committer privilege).
   
   Need to update docs? 
     
   - [x] `no-need-doc` 
   
   Fix flaky.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


Reply via email to