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

ASF GitHub Bot commented on FLINK-7739:
---------------------------------------

Github user tillrohrmann commented on the issue:

    https://github.com/apache/flink/pull/4751
  
    I assume that the `Thread.sleep(1)` should not do much harm if the Kafka 
Producer already blocks due to buffering and I/O. If it should not block, then 
the `Thread.sleep(1)` will give other threads the chance to execute when having 
only scarce resources (e.g. on Travis).
    
    I agree with @pnowojski that this is not a stress test and we have seen in 
the past that tests became unstable due to resource scarcity. Therefore I would 
like to merge this PR if Travis gives green light and @StephanEwen does not 
object.


> Improve Kafka*ITCase tests stability
> ------------------------------------
>
>                 Key: FLINK-7739
>                 URL: https://issues.apache.org/jira/browse/FLINK-7739
>             Project: Flink
>          Issue Type: Improvement
>          Components: Kafka Connector
>    Affects Versions: 1.3.2
>            Reporter: Piotr Nowojski
>            Assignee: Piotr Nowojski
>




--
This message was sent by Atlassian JIRA
(v6.4.14#64029)

Reply via email to