ayeo-flex-org / pulsar-flex

Pulsar Flex is a modern Apache Pulsar client for Node.js, developed to be independent of C++.
MIT License
45 stars 9 forks source link

Flakey Test #72

Closed galrose closed 3 years ago

galrose commented 3 years ago

Describe the bug The test for Should read the unacknowledged message again before the rest of the flow, in batch, in shared subscription, checks that there are 4 messages received while in the pulsar documentation it states that if you negatively acknowledge a message in a batch it resends the whole batch.

Reproduce Please provide reproduce, For example:

  1. Run the consumer tests
  2. The test sometimes fails and says it has more messages than expected in the expected queue Expected behavior The test should pass every time Observed behavior A clear and concise description of what did happen. Please include any relevant logs.