You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@beam.apache.org by "ASF GitHub Bot (JIRA)" <ji...@apache.org> on 2018/04/19 17:10:00 UTC

[jira] [Work logged] (BEAM-4086) KafkaIOTest is flaky

     [ https://issues.apache.org/jira/browse/BEAM-4086?focusedWorklogId=92692&page=com.atlassian.jira.plugin.system.issuetabpanels:worklog-tabpanel#worklog-92692 ]

ASF GitHub Bot logged work on BEAM-4086:
----------------------------------------

                Author: ASF GitHub Bot
            Created on: 19/Apr/18 17:09
            Start Date: 19/Apr/18 17:09
    Worklog Time Spent: 10m 
      Work Description: rangadi opened a new pull request #5185: [BEAM-4086]: KafkaIO tests:  Avoid busy loop in MockConsumer.poll(), reduce flakes.
URL: https://github.com/apache/beam/pull/5185
 
 
   Add 10 millis sleep when there are no elements left in a partition. `MockConsumer.poll()` does not actually respect 'timeout' argument, and as result 'cosumerPollLoop() in KafkaIO kept spinning once all the records are read.
   
   In addition, this seems to avoid flakes in `testUnboundedSourceWithoutBoundedWrapper()` (BEAM-4086).
   
   
   
   
   

----------------------------------------------------------------
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


Issue Time Tracking
-------------------

            Worklog Id:     (was: 92692)
            Time Spent: 10m
    Remaining Estimate: 0h

> KafkaIOTest is flaky
> --------------------
>
>                 Key: BEAM-4086
>                 URL: https://issues.apache.org/jira/browse/BEAM-4086
>             Project: Beam
>          Issue Type: Bug
>          Components: io-java-kafka
>    Affects Versions: 2.5.0
>            Reporter: Ismaël Mejía
>            Assignee: Raghu Angadi
>            Priority: Major
>          Time Spent: 10m
>  Remaining Estimate: 0h
>
> Noticed this while trying to do a simple change in KafkaIO this morning and corroborated with other contributors. If you run `./gradlew -p sdks/java/io/kafka/ clean build` it blocks indefinitely at least 1/3 of the times. However it passes ok with Maven.



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