[
https://issues.apache.org/jira/browse/SAMZA-393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14111042#comment-14111042
]
Chris Riccomini commented on SAMZA-393:
---------------------------------------
I am unable to reproduce this. I ran the test in a loop for hours and it never
showed up again.
I'm thinking that this could be an issue with bin/check-all.sh. It's possible
that some state is hanging around between test runs in check-all.sh, or that
there's some timing dependency that gets triggered when doing consecutive runs
in check-all.sh.
I've noticed that check-all.sh never completes successfully for me either. I
think samza-kafka:test doesn't have enough memory. Likely this happened after
the memory was dropped for Travis CI in SAMZA-386.
> TestKafkaCheckpointManager fails randomly
> -----------------------------------------
>
> Key: SAMZA-393
> URL: https://issues.apache.org/jira/browse/SAMZA-393
> Project: Samza
> Issue Type: Bug
> Reporter: Chris Riccomini
>
> When I run bin/check-all.sh:
> {noformat}
> :samza-kafka_2.10:test
> testCheckpointShouldBeNullIfCheckpointTopicDoesNotExistShouldBeCreatedOnWriteAndShouldBeReadableAfterWrite
> FAILED
> java.lang.AssertionError: expected:<Checkpoint
> [offsets={SystemStreamPartition [kafka, topic, 0]=123}]> but was:<null>
> at org.junit.Assert.fail(Assert.java:91)
> at org.junit.Assert.failNotEquals(Assert.java:645)
> at org.junit.Assert.assertEquals(Assert.java:126)
> at org.junit.Assert.assertEquals(Assert.java:145)
> at
> org.apache.samza.checkpoint.kafka.TestKafkaCheckpointManager.testCheckpointShouldBeNullIfCheckpointTopicDoesNotExistShouldBeCreatedOnWriteAndShouldBeReadableAfterWrite(TestKafkaCheckpointManager.scala:122)
> {noformat}
> This failed for:
> {noformat}
> ------------- Running check task against JDK7/Scala 2.10/YARN 2.5.0
> {noformat}
> But passed for other builds. I'll open a separate ticket for this.
--
This message was sent by Atlassian JIRA
(v6.2#6252)