lhotari opened a new pull request, #20429:
URL: https://github.com/apache/pulsar/pull/20429
Fixes #20386
### Motivation
- the previous attempts #20387 and #20401 to fix the flakiness weren't
effective alone
### Modifications
- add `.ignoreExceptions()` to Awaitility call
- underlying issue was IndexOutOfBoundsException which doesn't get retried
by Awaitility unless `.ignoreExceptions()` has been called. The root cause was
hidden by TestNG retries. There's another PR to improve this by adding some
logging, #20425
- general test logic improvements
- use unique topic name
- use Closeable to close producer and consumers
- assert that the latch was triggered
### Documentation
<!-- DO NOT REMOVE THIS SECTION. CHECK THE PROPER BOX ONLY. -->
- [ ] `doc` <!-- Your PR contains doc changes. -->
- [ ] `doc-required` <!-- Your PR changes impact docs and you will update
later -->
- [x] `doc-not-needed` <!-- Your PR changes do not impact docs -->
- [ ] `doc-complete` <!-- Docs have been already added -->
--
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]