[
https://issues.apache.org/jira/browse/KAFKA-6256?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16305886#comment-16305886
]
ASF GitHub Bot commented on KAFKA-6256:
---------------------------------------
mjsax opened a new pull request #4364: KAFKA-6256: fix flaky test
KStreamKTableJoinIntegrationTest.shouldCountClicksPerRegionWithNonZeroByteCache
URL: https://github.com/apache/kafka/pull/4364
Increase commit interval to make it less likely that we flush the cache
in-between.
To make it fool-proof, only compare the "final" result records if cache is
enabled.
### 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]
> Flaky Unit test:
> KStreamKTableJoinIntegrationTest.shouldCountClicksPerRegionWithNonZeroByteCache
> ------------------------------------------------------------------------------------------------
>
> Key: KAFKA-6256
> URL: https://issues.apache.org/jira/browse/KAFKA-6256
> Project: Kafka
> Issue Type: Bug
> Affects Versions: 1.0.0
> Reporter: Matthias J. Sax
> Assignee: Matthias J. Sax
>
> {noformat}
> Expected: <[KeyValue(americas, 101), KeyValue(europe, 109), KeyValue(asia,
> 124)]>
> but: was <[KeyValue(europe, 13), KeyValue(asia, 25), KeyValue(americas,
> 23)]>
> at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20)
> at org.junit.Assert.assertThat(Assert.java:956)
> at org.junit.Assert.assertThat(Assert.java:923)
> at
> org.apache.kafka.streams.integration.KStreamKTableJoinIntegrationTest.countClicksPerRegion(KStreamKTableJoinIntegrationTest.java:301)
> at
> org.apache.kafka.streams.integration.KStreamKTableJoinIntegrationTest.shouldCountClicksPerRegionWithNonZeroByteCache(KStreamKTableJoinIntegrationTest.java:144)
> {noformat}
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)