Return-Path: X-Original-To: archive-asf-public-internal@cust-asf2.ponee.io Delivered-To: archive-asf-public-internal@cust-asf2.ponee.io Received: from cust-asf.ponee.io (cust-asf.ponee.io [163.172.22.183]) by cust-asf2.ponee.io (Postfix) with ESMTP id 3015A200C28 for ; Sun, 12 Feb 2017 21:38:49 +0100 (CET) Received: by cust-asf.ponee.io (Postfix) id 2EA83160B51; Sun, 12 Feb 2017 20:38:49 +0000 (UTC) Delivered-To: archive-asf-public@cust-asf.ponee.io Received: from mail.apache.org (hermes.apache.org [140.211.11.3]) by cust-asf.ponee.io (Postfix) with SMTP id 7AB64160B6B for ; Sun, 12 Feb 2017 21:38:48 +0100 (CET) Received: (qmail 60649 invoked by uid 500); 12 Feb 2017 20:38:47 -0000 Mailing-List: contact issues-help@hbase.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Delivered-To: mailing list issues@hbase.apache.org Received: (qmail 60638 invoked by uid 99); 12 Feb 2017 20:38:47 -0000 Received: from pnap-us-west-generic-nat.apache.org (HELO spamd2-us-west.apache.org) (209.188.14.142) by apache.org (qpsmtpd/0.29) with ESMTP; Sun, 12 Feb 2017 20:38:47 +0000 Received: from localhost (localhost [127.0.0.1]) by spamd2-us-west.apache.org (ASF Mail Server at spamd2-us-west.apache.org) with ESMTP id 348991A0724 for ; Sun, 12 Feb 2017 20:38:47 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: -1.199 X-Spam-Level: X-Spam-Status: No, score=-1.199 tagged_above=-999 required=6.31 tests=[KAM_ASCII_DIVIDERS=0.8, KAM_LAZY_DOMAIN_SECURITY=1, RP_MATCHES_RCVD=-2.999] autolearn=disabled Received: from mx1-lw-eu.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id o6LnFovhAdli for ; Sun, 12 Feb 2017 20:38:46 +0000 (UTC) Received: from mailrelay1-us-west.apache.org (mailrelay1-us-west.apache.org [209.188.14.139]) by mx1-lw-eu.apache.org (ASF Mail Server at mx1-lw-eu.apache.org) with ESMTP id C84A15FAE6 for ; Sun, 12 Feb 2017 20:38:45 +0000 (UTC) Received: from jira-lw-us.apache.org (unknown [207.244.88.139]) by mailrelay1-us-west.apache.org (ASF Mail Server at mailrelay1-us-west.apache.org) with ESMTP id BCE53E02BA for ; Sun, 12 Feb 2017 20:38:43 +0000 (UTC) Received: from jira-lw-us.apache.org (localhost [127.0.0.1]) by jira-lw-us.apache.org (ASF Mail Server at jira-lw-us.apache.org) with ESMTP id 968AE21D68 for ; Sun, 12 Feb 2017 20:38:42 +0000 (UTC) Date: Sun, 12 Feb 2017 20:38:42 +0000 (UTC) From: "Jan Hentschel (JIRA)" To: issues@hbase.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Updated] (HBASE-9702) Change unittests that use "table" or "testtable" to use method names. MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Sun, 12 Feb 2017 20:38:49 -0000 [ https://issues.apache.org/jira/browse/HBASE-9702?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ] Jan Hentschel updated HBASE-9702: --------------------------------- Status: Patch Available (was: In Progress) > Change unittests that use "table" or "testtable" to use method names. > --------------------------------------------------------------------- > > Key: HBASE-9702 > URL: https://issues.apache.org/jira/browse/HBASE-9702 > Project: HBase > Issue Type: Bug > Reporter: Jonathan Hsieh > Assignee: Jan Hentschel > Attachments: HBASE-9702.master.001.patch > > > While working on HBASE-9686, many tests left files that indicated the method they had come from but several drop data in "table" or "testtable" tables. Naming them this way makes it hard to track which tests these came from. We should make all test use > @Rule TestName name = new TestName(); > ... > TableName t = TableName.valueOf(name.getMethodName()); -- This message was sent by Atlassian JIRA (v6.3.15#6346)