You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2019/10/11 22:37:00 UTC
[jira] [Commented] (KAFKA-9029) Flaky Test
CooperativeStickyAssignorTest.testReassignmentWithRandomSubscriptionsAndChanges
[ https://issues.apache.org/jira/browse/KAFKA-9029?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16949820#comment-16949820 ]
ASF GitHub Bot commented on KAFKA-9029:
---------------------------------------
ableegoldman commented on pull request #7503: KAFKA-9029: Flaky Test CooperativeStickyAssignorTest.testReassignmentWithRandomSubscriptionsAndChanges
URL: https://github.com/apache/kafka/pull/7503
One of the sticky assignor tests involves a random change in subscriptions that the current assignor algorithm struggles to react to and in cooperative mode ends up requiring more than one followup rebalance.
Apparently, in rare cases it can also require more than 2. Bumping the "allowed subsequent rebalances" to 4 (increase of 2) to allow some breathing room and reduce flakiness (technically any number is "correct", but if it turns out to ever require more than 4 we should revisit and improve the algorithm because that would be excessive (see [KAFKA-8494](https://issues.apache.org/jira/browse/KAFKA-8494) )
----------------------------------------------------------------
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:
users@infra.apache.org
> Flaky Test CooperativeStickyAssignorTest.testReassignmentWithRandomSubscriptionsAndChanges
> ------------------------------------------------------------------------------------------
>
> Key: KAFKA-9029
> URL: https://issues.apache.org/jira/browse/KAFKA-9029
> Project: Kafka
> Issue Type: Bug
> Components: clients, unit tests
> Reporter: Matthias J. Sax
> Assignee: Sophie Blee-Goldman
> Priority: Blocker
> Labels: flaky-test
> Fix For: 2.4.0
>
>
> {quote}java.lang.AssertionError at org.junit.Assert.fail(Assert.java:87) at org.junit.Assert.assertTrue(Assert.java:42) at org.junit.Assert.assertTrue(Assert.java:53) at org.apache.kafka.clients.consumer.CooperativeStickyAssignorTest.verifyValidityAndBalance(CooperativeStickyAssignorTest.java:71) at org.apache.kafka.clients.consumer.internals.AbstractStickyAssignorTest.testReassignmentWithRandomSubscriptionsAndChanges(AbstractStickyAssignorTest.java:652{quote}
> [https://builds.apache.org/job/kafka-pr-jdk11-scala2.12/8536/testReport/junit/org.apache.kafka.clients.consumer/CooperativeStickyAssignorTest/testReassignmentWithRandomSubscriptionsAndChanges/]
--
This message was sent by Atlassian Jira
(v8.3.4#803005)