lhotari opened a new pull request #10118: URL: https://github.com/apache/pulsar/pull/10118
Fixes #10117 ### Motivation & Modifications SimpleProducerConsumerTestStreamingDispatcherTest.testRedeliveryFailOverConsumer is one of the most flaky tests. The main goal of the changes in this PR is to increase the receive timeouts in the testRedeliveryFailOverConsumer . When looking at the test class, the receive timeouts weren't consistent and this PR improves the test class by using constants for receive timeouts. There's now `RECEIVE_TIMEOUT_SECONDS`, `RECEIVE_TIMEOUT_SHORT_MILLIS` and `RECEIVE_TIMEOUT_MEDIUM_MILLIS` constants to be used for 3 different type of use cases of consumer.receive . -- 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]
