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 2020/01/21 11:03:00 UTC

[jira] [Commented] (KAFKA-9457) Flaky test org.apache.kafka.common.network.SelectorTest.testGracefulClose

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

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

rajinisivaram commented on pull request #7989: KAFKA-9457; Fix flaky test org.apache.kafka.common.network.SelectorTest.testGracefulClose
URL: https://github.com/apache/kafka/pull/7989
 
 
   Test currently assumes that exactly one receive is completed within 1 second. We cannot guarantee that. Updated to increase timeout to 5 seconds and allow one or more pending receives to complete.
   
   ### 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 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 org.apache.kafka.common.network.SelectorTest.testGracefulClose
> -------------------------------------------------------------------------
>
>                 Key: KAFKA-9457
>                 URL: https://issues.apache.org/jira/browse/KAFKA-9457
>             Project: Kafka
>          Issue Type: Bug
>          Components: network
>            Reporter: Rajini Sivaram
>            Assignee: Rajini Sivaram
>            Priority: Major
>             Fix For: 2.5.0
>
>
> org.apache.kafka.common.network.SelectorTest.testGracefulClose has been failing a lot in PR builds:
> {{java.lang.AssertionError: expected:<1> but was:<0>}}
> {{ at org.junit.Assert.fail(Assert.java:89)}}
> {{ at org.junit.Assert.failNotEquals(Assert.java:835)}}
> {{ at org.junit.Assert.assertEquals(Assert.java:647)}}
> {{ at org.junit.Assert.assertEquals(Assert.java:633)}}
> {{ at org.apache.kafka.common.network.SelectorTest.testGracefulClose(SelectorTest.java:588)}}



--
This message was sent by Atlassian Jira
(v8.3.4#803005)