[
https://issues.apache.org/jira/browse/KAFKA-7288?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16579714#comment-16579714
]
ASF GitHub Bot commented on KAFKA-7288:
---------------------------------------
rajinisivaram opened a new pull request #5504: KAFKA-7288: Fix for
SslSelectorTest.testCloseConnectionInClosingState
URL: https://github.com/apache/kafka/pull/5504
Ensure that sends are completed before waiting for channel to be closed
based on idle expiry, since channel will not be expired if added to ready keys
in the next poll as a result of pending sends.
### 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 GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
> Transient failure in SslSelectorTest.testCloseConnectionInClosingState
> ----------------------------------------------------------------------
>
> Key: KAFKA-7288
> URL: https://issues.apache.org/jira/browse/KAFKA-7288
> Project: Kafka
> Issue Type: Bug
> Components: unit tests
> Reporter: Rajini Sivaram
> Assignee: Rajini Sivaram
> Priority: Major
>
> Noticed this failure in SslSelectorTest.testCloseConnectionInClosingState a
> few times in unit tests in Jenkins:
> {quote}
> java.lang.AssertionError: Channel not expired expected null, but
> was:<org.apache.kafka.common.network.KafkaChannel@4f> at
> org.junit.Assert.fail(Assert.java:88) at
> org.junit.Assert.failNotNull(Assert.java:755) at
> org.junit.Assert.assertNull(Assert.java:737) at
> org.apache.kafka.common.network.SelectorTest.testCloseConnectionInClosingState(SelectorTest.java:341)
> {quote}
--
This message was sent by Atlassian JIRA
(v7.6.3#76005)