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] [Updated] (KAFKA-1747) TestcaseEnv improperly shares state between instances
Date Mon, 03 Nov 2014 19:47:33 GMT

     [ https://issues.apache.org/jira/browse/KAFKA-1747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]

Ewen Cheslack-Postava updated KAFKA-1747:
-----------------------------------------
    Attachment: KAFKA-1747.patch

> 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