AndrewJSchofield opened a new pull request, #17985:
URL: https://github.com/apache/kafka/pull/17985

   Additional work on `ShareConsumerTest.testAcquisitionLockTimeoutOnConsumer`. 
First, mark the test as flaky since it fails occasionally and it would be best 
to get a decent number of passes before assuming it's no longer flaky. Then, 
change the assertions so that the test checks which records were received 
before it counts them (we might get too many records because the wrong records 
are being returned, or because records are actually being duplicated). The rare 
failures appear to be related to returning too many records, so it would be 
good to see whether we can learn more about the duplication.
   
   There are a couple of other improvements too. Reducing the number of 
share-group state partitions so we don't have the overhead of creating 50 
partitions when a few will do. Changing the warm-up logic since that has been 
observed very occasionally to assert.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   


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