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

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

rajinisivaram commented on pull request #6391: KAFKA-7980 - Fix timing issue in 
SocketServerTest.testConnectionRateLimit
URL: https://github.com/apache/kafka/pull/6391
 
 
   Test currently checks that there were at least 5 polls when 5 connections 
are established with connectionQueueSize=1. But we could be doing the check 
just after the 5th connection before the 5th poll, so updated the check to 
verify that there were at least 4 polls.
   
   I could not recreate the failure with or without the fix.
   
   ### 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:
us...@infra.apache.org


> Flaky Test SocketServerTest#testConnectionRateLimit
> ---------------------------------------------------
>
>                 Key: KAFKA-7980
>                 URL: https://issues.apache.org/jira/browse/KAFKA-7980
>             Project: Kafka
>          Issue Type: Bug
>          Components: core, unit tests
>    Affects Versions: 2.2.0
>            Reporter: Matthias J. Sax
>            Assignee: Rajini Sivaram
>            Priority: Critical
>              Labels: flaky-test
>             Fix For: 2.3.0, 2.2.1
>
>
> To get stable nightly builds for `2.2` release, I create tickets for all 
> observed test failures.
> [https://jenkins.confluent.io/job/apache-kafka-test/job/2.2/25/]
> {quote}java.lang.AssertionError: Connections created too quickly: 4 at 
> org.junit.Assert.fail(Assert.java:88) at 
> org.junit.Assert.assertTrue(Assert.java:41) at 
> kafka.network.SocketServerTest.testConnectionRateLimit(SocketServerTest.scala:1122){quote}
>  



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

Reply via email to