[
https://issues.apache.org/jira/browse/KAFKA-1747?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Neha Narkhede updated KAFKA-1747:
---------------------------------
Resolution: Fixed
Status: Resolved (was: Patch Available)
Thanks for the patch, Ewen! Pushed to 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
> Assignee: 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)