You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@pulsar.apache.org by GitBox <gi...@apache.org> on 2021/06/03 23:37:11 UTC

[GitHub] [pulsar] dlg99 opened a new pull request #10820: [Issue-10808] Fixed flaky test

dlg99 opened a new pull request #10820:
URL: https://github.com/apache/pulsar/pull/10820


   <!--
   ### Contribution Checklist
     
     - Name the pull request in the form "[Issue XYZ][component] Title of the pull request", where *XYZ* should be replaced by the actual issue number.
       Skip *Issue XYZ* if there is no associated github issue for this pull request.
       Skip *component* if you are unsure about which is the best component. E.g. `[docs] Fix typo in produce method`.
   
     - Fill out the template below to describe the changes contributed by the pull request. That will give reviewers the context they need to do the review.
     
     - Each pull request should address only one issue, not mix up code from multiple issues.
     
     - Each commit in the pull request has a meaningful commit message
   
     - Once all items of the checklist are addressed, remove the above text and this checklist, leaving only the filled out template below.
   
   **(The sections below can be removed for hotfixes of typos)**
   -->
   
   *(If this PR fixes a github issue, please add `Fixes #<xyz>`.)*
   
   Fixes #10808 
   
   ### Motivation
   
   I could not repro the failure locally without any modifications.
   It reproed after I added send of 10+ messages (without consumer receiving them).
   It looks like there is some kind of tailing.prefetch (I am not familiar with the consumer at that level) so sent but not consumed message may result in consumer's metrics increment. In some cases it seems to happen after `statsBeforeUnsubscribe` were fetched and before the consumer.unsubscribe.
   The test had extra send (without consumer receiving it), I removed it.
   
   ### Modifications
   
   removed send of extra non-consumed message
   
   ### Verifying this change
   
   - [ ] Make sure that the change passes the CI checks.
   
   *(Please pick either of the following options)*
   
   This change is already covered by existing tests/fixes the tests
   
   ### Does this pull request potentially affect one of the following parts:
   
   NO
   


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] eolivelli merged pull request #10820: [Issue-10808] Fixed flaky test testAccumulativeStats()

Posted by GitBox <gi...@apache.org>.
eolivelli merged pull request #10820:
URL: https://github.com/apache/pulsar/pull/10820


   


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



[GitHub] [pulsar] eolivelli commented on pull request #10820: [Issue-10808] Fixed flaky test testAccumulativeStats()

Posted by GitBox <gi...@apache.org>.
eolivelli commented on pull request #10820:
URL: https://github.com/apache/pulsar/pull/10820#issuecomment-855975376


   committed to master branch, thank you @dlg99 


-- 
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.

For queries about this service, please contact Infrastructure at:
users@infra.apache.org