BewareMyPower opened a new pull request #8568:
URL: https://github.com/apache/pulsar/pull/8568
Fixes #8513
### Motivation
Tests of `KeySharedConsumerTest` are likely to fail. From the log we can see
sometimes the consumer didn't receive all messages.
For example logs in #8513 we can see
- `testMultiTopics`, 3000 messages were sent, but the messages per consumer
is `{0 => 0, 1 => 529, 2 => 621}`. Only 1150 messages were received.
- `testOrderingKeyPriority`, 1000 messages were sent, but the messages per
consumer is `{0 => 0, 1 => 270, 2 => 264}`. Only 534 messages were received.
It could also be seen in other tests of `KeySharedConsumerTest` when tests
are running in CI.
### Modifications
- Increase the receive timeout to make sure consumers can receive all
messages
- Remove the check for messages distribution, it's a broker's thing and has
been tested in Java client test `KeySharedSubscriptionTest`.
### Verifying this change
- [ ] Make sure that the change passes the CI checks.
This change is a trivial rework / code cleanup without any test coverage.
----------------------------------------------------------------
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:
[email protected]