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 2018/11/08 00:14:00 UTC

[jira] [Commented] (KAFKA-7605) Flaky Test `SaslMultiMechanismConsumerTest.testCoordinatorFailover`

    [ https://issues.apache.org/jira/browse/KAFKA-7605?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16679106#comment-16679106 ] 

ASF GitHub Bot commented on KAFKA-7605:
---------------------------------------

hachikuji opened a new pull request #5890: KAFKA-7605; Increase timeout for commit callback in testing
URL: https://github.com/apache/kafka/pull/5890
 
 
   We are seeing some timeouts in tests which depend on the `awaitCommitCallback` (e.g. `SaslMultiMechanismConsumerTest.testCoordinatorFailover`). I haven't been able to reproduce the failures locally, but it seems like a reasonable bet that we need to loosen the timeout a little bit for underpowered build environments.
   
   ### Committer Checklist (excluded from commit message)
   - [ ] Verify design and implementation 
   - [ ] Verify test coverage and CI build status
   - [ ] Verify documentation (including upgrade notes)
   

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on 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 `SaslMultiMechanismConsumerTest.testCoordinatorFailover`
> -------------------------------------------------------------------
>
>                 Key: KAFKA-7605
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7605
>             Project: Kafka
>          Issue Type: Bug
>          Components: unit tests
>            Reporter: Jason Gustafson
>            Assignee: Jason Gustafson
>            Priority: Major
>
> {code}
> java.lang.AssertionError: Failed to observe commit callback before timeout
> 	at kafka.utils.TestUtils$.fail(TestUtils.scala:351)
> 	at kafka.utils.TestUtils$.waitUntilTrue(TestUtils.scala:761)
> 	at kafka.utils.TestUtils$.pollUntilTrue(TestUtils.scala:727)
> 	at kafka.api.BaseConsumerTest.awaitCommitCallback(BaseConsumerTest.scala:198)
> 	at kafka.api.BaseConsumerTest.ensureNoRebalance(BaseConsumerTest.scala:214)
> 	at kafka.api.BaseConsumerTest.testCoordinatorFailover(BaseConsumerTest.scala:117)
> {code}
> Probably just need to increase the timeout a little.



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)