Return-Path: X-Original-To: apmail-kafka-dev-archive@www.apache.org Delivered-To: apmail-kafka-dev-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id D061F10C0B for ; Mon, 3 Nov 2014 19:47:34 +0000 (UTC) Received: (qmail 92932 invoked by uid 500); 3 Nov 2014 19:47:34 -0000 Delivered-To: apmail-kafka-dev-archive@kafka.apache.org Received: (qmail 92817 invoked by uid 500); 3 Nov 2014 19:47:34 -0000 Mailing-List: contact dev-help@kafka.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@kafka.apache.org Delivered-To: mailing list dev@kafka.apache.org Received: (qmail 92577 invoked by uid 99); 3 Nov 2014 19:47:34 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 03 Nov 2014 19:47:34 +0000 Date: Mon, 3 Nov 2014 19:47:34 +0000 (UTC) From: "Ewen Cheslack-Postava (JIRA)" To: dev@kafka.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (KAFKA-1747) TestcaseEnv improperly shares state between instances MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 [ 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)