Return-Path: X-Original-To: apmail-cassandra-commits-archive@www.apache.org Delivered-To: apmail-cassandra-commits-archive@www.apache.org Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by minotaur.apache.org (Postfix) with SMTP id 84A3418A39 for ; Mon, 11 Jan 2016 22:36:41 +0000 (UTC) Received: (qmail 54807 invoked by uid 500); 11 Jan 2016 22:36:40 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 54697 invoked by uid 500); 11 Jan 2016 22:36:40 -0000 Mailing-List: contact commits-help@cassandra.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@cassandra.apache.org Delivered-To: mailing list commits@cassandra.apache.org Received: (qmail 54419 invoked by uid 99); 11 Jan 2016 22:36:40 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 11 Jan 2016 22:36:40 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 589AD2C1F7C for ; Mon, 11 Jan 2016 22:36:40 +0000 (UTC) Date: Mon, 11 Jan 2016 22:36:40 +0000 (UTC) From: "Ariel Weisberg (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (CASSANDRA-9293) Unit tests should fail if any LEAK DETECTED errors are printed 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/CASSANDRA-9293?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Ariel Weisberg updated CASSANDRA-9293: -------------------------------------- Reviewer: (was: Ariel Weisberg) > Unit tests should fail if any LEAK DETECTED errors are printed > -------------------------------------------------------------- > > Key: CASSANDRA-9293 > URL: https://issues.apache.org/jira/browse/CASSANDRA-9293 > Project: Cassandra > Issue Type: Improvement > Reporter: Benedict > Assignee: Sylvestor George > Labels: test > Attachments: 9293.txt > > > We shouldn't depend on dtests to inform us of these problems (which have error log monitoring) - they should be caught by unit tests, which may also cover different failure conditions (besides being faster). > There are a couple of ways we could do this, but probably the easiest is to add a static flag that is set to true if we ever see a leak (in Ref), and to just assert that this is false at the end of every test. > [~enigmacurry] is this something TE can help with? -- This message was sent by Atlassian JIRA (v6.3.4#6332)