[ https://issues.apache.org/jira/browse/KAFKA-5140?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16210557#comment-16210557 ]
ASF GitHub Bot commented on KAFKA-5140: --------------------------------------- GitHub user guozhangwang opened a pull request: https://github.com/apache/kafka/pull/4095 KAFKA-5140: Fix reset integration test The MockTime was incorrectly used across multiple test methods within the class, as a class rule. Instead we set it on each test case; also remove the scala MockTime dependency. You can merge this pull request into a Git repository by running: $ git pull https://github.com/guozhangwang/kafka KMinor-reset-integration-test Alternatively you can review and apply these changes as the patch at: https://github.com/apache/kafka/pull/4095.patch To close this pull request, make a commit to your master/trunk branch with (at least) the following in the commit message: This closes #4095 ---- commit 1aac7bec94de5b2d26d72bade9e654192f18d576 Author: Guozhang Wang <wangg...@gmail.com> Date: 2017-10-12T21:18:46Z dummy commit 83f176c26dd092f924e2d273a4fa763ce5d7cdcf Author: Guozhang Wang <wangg...@gmail.com> Date: 2017-10-19T04:44:18Z fix issues ---- > Flaky ResetIntegrationTest > -------------------------- > > Key: KAFKA-5140 > URL: https://issues.apache.org/jira/browse/KAFKA-5140 > Project: Kafka > Issue Type: Bug > Components: streams, unit tests > Affects Versions: 0.10.2.0 > Reporter: Matthias J. Sax > Assignee: Guozhang Wang > Fix For: 0.11.0.0 > > > {noformat} > org.apache.kafka.streams.integration.ResetIntegrationTest > > testReprocessingFromScratchAfterResetWithIntermediateUserTopic FAILED > java.lang.AssertionError: > Expected: <[KeyValue(2986681642095, 1), KeyValue(2986681642055, 1), > KeyValue(2986681642075, 1), KeyValue(2986681642035, 1), > KeyValue(2986681642095, 1), KeyValue(2986681642055, 1), > KeyValue(2986681642115, 1), KeyValue(2986681642075, 1), > KeyValue(2986681642075, 2), KeyValue(2986681642095, 2), > KeyValue(2986681642115, 1), KeyValue(2986681642135, 1), > KeyValue(2986681642095, 2), KeyValue(2986681642115, 2), > KeyValue(2986681642155, 1), KeyValue(2986681642135, 1), > KeyValue(2986681642115, 2), KeyValue(2986681642135, 2), > KeyValue(2986681642155, 1), KeyValue(2986681642175, 1), > KeyValue(2986681642135, 2), KeyValue(2986681642155, 2), > KeyValue(2986681642175, 1), KeyValue(2986681642195, 1), > KeyValue(2986681642135, 3), KeyValue(2986681642155, 2), > KeyValue(2986681642175, 2), KeyValue(2986681642195, 1), > KeyValue(2986681642155, 3), KeyValue(2986681642175, 2), > KeyValue(2986681642195, 2), KeyValue(2986681642155, 3), > KeyValue(2986681642175, 3), KeyValue(2986681642195, 2), > KeyValue(2986681642155, 4), KeyValue(2986681642175, 3), > KeyValue(2986681642195, 3)]> > but: was <[KeyValue(2986681642095, 1), KeyValue(2986681642055, 1), > KeyValue(2986681642075, 1), KeyValue(2986681642035, 1), > KeyValue(2986681642095, 1), KeyValue(2986681642055, 1), > KeyValue(2986681642115, 1), KeyValue(2986681642075, 1), > KeyValue(2986681642075, 2), KeyValue(2986681642095, 2), > KeyValue(2986681642115, 1), KeyValue(2986681642135, 1), > KeyValue(2986681642095, 2), KeyValue(2986681642115, 2), > KeyValue(2986681642155, 1), KeyValue(2986681642135, 1), > KeyValue(2986681642115, 2), KeyValue(2986681642135, 2), > KeyValue(2986681642155, 1), KeyValue(2986681642175, 1), > KeyValue(2986681642135, 2), KeyValue(2986681642155, 2), > KeyValue(2986681642175, 1), KeyValue(2986681642195, 1), > KeyValue(2986681642135, 3), KeyValue(2986681642155, 2), > KeyValue(2986681642175, 2), KeyValue(2986681642195, 1), > KeyValue(2986681642155, 3), KeyValue(2986681642175, 2), > KeyValue(2986681642195, 2), KeyValue(2986681642155, 3)]> > at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:20) > at org.hamcrest.MatcherAssert.assertThat(MatcherAssert.java:8) > at > org.apache.kafka.streams.integration.ResetIntegrationTest.testReprocessingFromScratchAfterResetWithIntermediateUserTopic(ResetIntegrationTest.java:190) > {noformat} -- This message was sent by Atlassian JIRA (v6.4.14#64029)