You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@kafka.apache.org by "Jun Rao (JIRA)" <ji...@apache.org> on 2014/04/14 00:30:15 UTC

[jira] [Commented] (KAFKA-1392) all TestUtiles.waitUntilTrue() should throw an exception if the return value is false

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

Jun Rao commented on KAFKA-1392:
--------------------------------

Made a simple change to throw an exception in TestUtiles.waitUntilTrue() when the timeout is hit. This failed a few unit tests and means that those unit tests may not really work as they are expected.

> all TestUtiles.waitUntilTrue() should throw an exception if the return value is false
> -------------------------------------------------------------------------------------
>
>                 Key: KAFKA-1392
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1392
>             Project: Kafka
>          Issue Type: Improvement
>    Affects Versions: 0.8.2
>            Reporter: Jun Rao
>
> In all unit tests, we expect TestUtiles.waitUntilTrue() to be true. However, this is not enforced in all unit tests.



--
This message was sent by Atlassian JIRA
(v6.2#6252)