kafka-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Ewen Cheslack-Postava (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (KAFKA-1747) TestcaseEnv improperly shares state between instances
Date Mon, 03 Nov 2014 19:47:34 GMT

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

Ewen Cheslack-Postava commented on KAFKA-1747:
----------------------------------------------

Created reviewboard https://reviews.apache.org/r/27535/diff/
 against branch origin/trunk

> TestcaseEnv improperly shares state between instances
> -----------------------------------------------------
>
>                 Key: KAFKA-1747
>                 URL: https://issues.apache.org/jira/browse/KAFKA-1747
>             Project: Kafka
>          Issue Type: Bug
>    Affects Versions: 0.8.1.1
>            Reporter: Ewen Cheslack-Postava
>         Attachments: KAFKA-1747.patch
>
>
> TestcaseEnv in system tests uses class variables instead of instance variables for a
bunch of state. This causes the data to persist between tests. In some cases this can cause
tests to break (e.g. there will be state from a service running in a previous test that doesn't
exist in the current test; trying to look up state about that service raises an exception
or produces invalid data).



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message