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 1EFEE200BA1 for ; Mon, 17 Oct 2016 21:04:00 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 1D923160AEC; Mon, 17 Oct 2016 19:04:00 +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 8CE9C160AE2 for ; Mon, 17 Oct 2016 21:03:59 +0200 (CEST) Received: (qmail 967 invoked by uid 500); 17 Oct 2016 19:03:58 -0000 Mailing-List: contact issues-help@hive.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@hive.apache.org Delivered-To: mailing list issues@hive.apache.org Received: (qmail 949 invoked by uid 99); 17 Oct 2016 19:03:58 -0000 Received: from arcas.apache.org (HELO arcas) (140.211.11.28) by apache.org (qpsmtpd/0.29) with ESMTP; Mon, 17 Oct 2016 19:03:58 +0000 Received: from arcas.apache.org (localhost [127.0.0.1]) by arcas (Postfix) with ESMTP id 7C11D2C0073 for ; Mon, 17 Oct 2016 19:03:58 +0000 (UTC) Date: Mon, 17 Oct 2016 19:03:58 +0000 (UTC) From: "Vaibhav Gumashta (JIRA)" To: issues@hive.apache.org Message-ID: In-Reply-To: References: Subject: [jira] [Commented] (HIVE-14891) Parallelize TestHCatStorer MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit X-JIRA-FingerPrint: 30527f35849b9dde25b450d4833f0394 archived-at: Mon, 17 Oct 2016 19:04:00 -0000 [ https://issues.apache.org/jira/browse/HIVE-14891?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=15583144#comment-15583144 ] Vaibhav Gumashta commented on HIVE-14891: ----------------------------------------- For future reference: new formats won't need a new testcase. The class TestHCatStorer still works as a parameterized class, with all tests disabled for Avro, RC, Text, SequenceFile, Orc and Parquet. In case a new format is added, which HCat supports, we'll need to add a new testcase if we wish to parallelize it like others. > Parallelize TestHCatStorer > -------------------------- > > Key: HIVE-14891 > URL: https://issues.apache.org/jira/browse/HIVE-14891 > Project: Hive > Issue Type: Sub-task > Components: HCatalog, Testing Infrastructure > Affects Versions: 2.1.0 > Reporter: Vaibhav Gumashta > Assignee: Vaibhav Gumashta > Fix For: 2.2.0 > > Attachments: HIVE-14891.1.patch, HIVE-14891.1.patch, HIVE-14891.1.patch > > > Currently TestHCatStorer runs as a parameterized test, where it runs the same tests for each storage format but within the same junit test case. This prevents it from being parallelized using ptest where parallelism granularity is at a test case level. Instead of using parameterized tests, it makes sense to create a new test case for each storage format. -- This message was sent by Atlassian JIRA (v6.3.4#6332)