You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Ewen Cheslack-Postava (JIRA)" <ji...@apache.org> on 2015/11/09 19:20:11 UTC
[jira] [Updated] (KAFKA-2782) Incorrect assertion in
KafkaBasedLogTest.testSendAndReadToEnd
[ https://issues.apache.org/jira/browse/KAFKA-2782?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
Ewen Cheslack-Postava updated KAFKA-2782:
-----------------------------------------
Status: Patch Available (was: Open)
> Incorrect assertion in KafkaBasedLogTest.testSendAndReadToEnd
> -------------------------------------------------------------
>
> Key: KAFKA-2782
> URL: https://issues.apache.org/jira/browse/KAFKA-2782
> Project: Kafka
> Issue Type: Bug
> Components: copycat
> Reporter: Ewen Cheslack-Postava
> Assignee: Ewen Cheslack-Postava
> Fix For: 0.9.0.0
>
>
> One of the assertions is incorrect. This is a bit hard to spot because that assertion is performed in a callback on a different thread, so if the assertion fails it can just kill the other thread and the test times out without a clear indication of what's going wrong. We can rearrange the assertion a bit to test the same thing but make the assertions execute in the main test thread.
--
This message was sent by Atlassian JIRA
(v6.3.4#6332)