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 59ECFC3FF for ; Thu, 7 Aug 2014 14:38:12 +0000 (UTC) Received: (qmail 94532 invoked by uid 500); 7 Aug 2014 14:38:12 -0000 Delivered-To: apmail-cassandra-commits-archive@cassandra.apache.org Received: (qmail 94503 invoked by uid 500); 7 Aug 2014 14:38:12 -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 94484 invoked by uid 99); 7 Aug 2014 14:38:12 -0000 Received: from arcas.apache.org (HELO arcas.apache.org) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Thu, 07 Aug 2014 14:38:12 +0000 Date: Thu, 7 Aug 2014 14:38:11 +0000 (UTC) From: "Michael Shuler (JIRA)" To: commits@cassandra.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Created] (CASSANDRA-7712) temporary files need to be cleaned by unit tests MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 Michael Shuler created CASSANDRA-7712: ----------------------------------------- Summary: temporary files need to be cleaned by unit tests Key: CASSANDRA-7712 URL: https://issues.apache.org/jira/browse/CASSANDRA-7712 Project: Cassandra Issue Type: Test Components: Tests Reporter: Michael Shuler Priority: Minor Fix For: 2.0.10, 2.1.1 There are many unit test temporary files left behind after test runs. In the case of CI servers, I have seen >70,000 files accumulate in /tmp over a period of time. Each unit test should make an effort to remove its temporary files when the test is completed. My current unit test cleanup block: {noformat} # clean up after unit tests.. rm -rf /tmp/140*-0 /tmp/CFWith* /tmp/Counter1* /tmp/DescriptorTest* /tmp/Keyspace1* \ /tmp/KeyStreamingTransferTestSpace* /tmp/SSTableExportTest* /tmp/SSTableImportTest* \ /tmp/Standard1* /tmp/Statistics.db* /tmp/StreamingTransferTest* /tmp/ValuesWithQuotes* \ /tmp/cassandra* /tmp/jna-* /tmp/ks-cf-ib-1-* /tmp/lengthtest* /tmp/liblz4-java*.so /tmp/readtest* \ /tmp/set_length_during_read_mode* /tmp/set_negative_length* /tmp/snappy-*.so {noformat} -- This message was sent by Atlassian JIRA (v6.2#6252)