Skip to content

Commit

Permalink
Attempt to fix flaky test SimpleProducerConsumerTestStreamingDispatch…
Browse files Browse the repository at this point in the history
…erTest.testRedeliveryFailOverConsumer (apache#10118)

* Attempt to fix flaky test SimpleProducerConsumerTestStreamingDispatcherTest

* Use constants for receive timeouts

* Add delay after redeliverUnacknowledgedMessages call

* Organize imports with format defined in checkstyle

* Reduce flakiness in testRedeliveryOfFailedMessages

* Attempt to fix flakiness in test
  • Loading branch information
lhotari authored Apr 9, 2021
1 parent 31f8315 commit 6629b15
Show file tree
Hide file tree
Showing 2 changed files with 137 additions and 127 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -29,10 +29,9 @@
@Test(groups = "flaky")
public class SimpleProducerConsumerTestStreamingDispatcherTest extends SimpleProducerConsumerTest {

@BeforeMethod
@Override
protected void setup() throws Exception {
super.setup();
protected void doInitConf() throws Exception {
super.doInitConf();
conf.setStreamingDispatch(true);
}
}
Loading

0 comments on commit 6629b15

Please sign in to comment.