You are viewing a plain text version of this content. The canonical link for it is here.
Posted to jira@kafka.apache.org by "Ted Yu (JIRA)" <ji...@apache.org> on 2017/12/03 00:03:00 UTC
[jira] [Created] (KAFKA-6300) SelectorTest may fail with
ConcurrentModificationException
Ted Yu created KAFKA-6300:
-----------------------------
Summary: SelectorTest may fail with ConcurrentModificationException
Key: KAFKA-6300
URL: https://issues.apache.org/jira/browse/KAFKA-6300
Project: Kafka
Issue Type: Test
Reporter: Ted Yu
Priority: Minor
From https://builds.apache.org/job/kafka-trunk-jdk8/2255/testReport/junit/org.apache.kafka.common.network/SelectorTest/testImmediatelyConnectedCleaned/ :
{code}
java.util.ConcurrentModificationException
at java.util.ArrayList$Itr.checkForComodification(ArrayList.java:909)
at java.util.ArrayList$Itr.next(ArrayList.java:859)
at org.apache.kafka.common.network.EchoServer.closeConnections(EchoServer.java:115)
at org.apache.kafka.common.network.EchoServer.close(EchoServer.java:121)
at org.apache.kafka.common.network.SelectorTest.tearDown(SelectorTest.java:95)
{code}
It seems sockets ArrayList was modified during closing.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)