You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@samza.apache.org by "Chris Riccomini (JIRA)" <ji...@apache.org> on 2014/08/25 19:20:59 UTC

[jira] [Commented] (SAMZA-393) TestKafkaCheckpointManager fails randomly

    [ https://issues.apache.org/jira/browse/SAMZA-393?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14109329#comment-14109329 ] 

Chris Riccomini commented on SAMZA-393:
---------------------------------------

Discovered while testing SAMZA-391.

> 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)