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] [Created] (KAFKA-1747) TestcaseEnv improperly shares state between instances
Date Mon, 03 Nov 2014 19:45:33 GMT
Ewen Cheslack-Postava created KAFKA-1747:
--------------------------------------------

             Summary: 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


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