[
https://issues.apache.org/jira/browse/KAFKA-1400?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14339452#comment-14339452
]
Jun Rao commented on KAFKA-1400:
--------------------------------
Provide a simple fix to send enough bytes to trigger a socket flush. Without
the patch, the unit test failed 3 times on 10 tries. With the patch, it didn't
fail in 20 tries.
> transient unit test failure in SocketServerTest
> -----------------------------------------------
>
> Key: KAFKA-1400
> URL: https://issues.apache.org/jira/browse/KAFKA-1400
> Project: Kafka
> Issue Type: Bug
> Components: core
> Affects Versions: 0.8.2.0
> Reporter: Jun Rao
> Assignee: Jun Rao
> Fix For: 0.8.2.0
>
> Attachments: KAFKA-1400.patch, kafka-1400.patch
>
>
> Saw the following transient failure.
> kafka.network.SocketServerTest > testSocketsCloseOnShutdown FAILED
> java.lang.AssertionError: Expected exception: java.net.SocketException
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)