[ https://issues.apache.org/jira/browse/KAFKA-13010?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17383531#comment-17383531 ]
Josep Prat commented on KAFKA-13010: ------------------------------------ One thing that was modified under that PR that might cause some race conditions is the fact that StreamsMetadataImpl now saves all collections as immutable ones during creation instead of doing it inside the getters. Similar thing ThreadMetadataImpl that now saves producerClientIds as an immutable collection within the constructor. However, TaskMetadataImpl behaves the same in regards of immutable collections. I doubt it is related, but it's worth a shot. > Flaky test > org.apache.kafka.streams.integration.TaskMetadataIntegrationTest.shouldReportCorrectCommittedOffsetInformation() > --------------------------------------------------------------------------------------------------------------------------- > > Key: KAFKA-13010 > URL: https://issues.apache.org/jira/browse/KAFKA-13010 > Project: Kafka > Issue Type: Bug > Components: streams > Reporter: Bruno Cadonna > Assignee: Walker Carlson > Priority: Major > Labels: flaky-test > Attachments: > TaskMetadataIntegrationTest#shouldReportCorrectEndOffsetInformation.rtf > > > Integration test {{test > org.apache.kafka.streams.integration.TaskMetadataIntegrationTest.shouldReportCorrectCommittedOffsetInformation()}} > sometimes fails with > {code:java} > java.lang.AssertionError: only one task > at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:26) > at > org.apache.kafka.streams.integration.TaskMetadataIntegrationTest.getTaskMetadata(TaskMetadataIntegrationTest.java:162) > at > org.apache.kafka.streams.integration.TaskMetadataIntegrationTest.shouldReportCorrectCommittedOffsetInformation(TaskMetadataIntegrationTest.java:117) > {code} -- This message was sent by Atlassian Jira (v8.3.4#803005)