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 3E8832009F8 for ; Fri, 3 Jun 2016 19:06:22 +0200 (CEST) Received: by cust-asf.ponee.io (Postfix) id 3D22C160A49; Fri, 3 Jun 2016 17:06:22 +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 86889160A3B for ; Fri, 3 Jun 2016 19:06:21 +0200 (CEST) Received: (qmail 32007 invoked by uid 500); 3 Jun 2016 17:06:20 -0000 Mailing-List: contact dev-help@impala.incubator.apache.org; run by ezmlm Precedence: bulk List-Help: List-Unsubscribe: List-Post: List-Id: Reply-To: dev@impala.incubator.apache.org Delivered-To: mailing list dev@impala.incubator.apache.org Received: (qmail 31996 invoked by uid 99); 3 Jun 2016 17:06:20 -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; Fri, 03 Jun 2016 17:06:20 +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 270AF1A1362 for ; Fri, 3 Jun 2016 17:06:20 +0000 (UTC) X-Virus-Scanned: Debian amavisd-new at spamd2-us-west.apache.org X-Spam-Flag: NO X-Spam-Score: 0.362 X-Spam-Level: X-Spam-Status: No, score=0.362 tagged_above=-999 required=6.31 tests=[RDNS_DYNAMIC=0.363, SPF_PASS=-0.001] autolearn=disabled Received: from mx1-lw-us.apache.org ([10.40.0.8]) by localhost (spamd2-us-west.apache.org [10.40.0.9]) (amavisd-new, port 10024) with ESMTP id 3OhXcUtzntge for ; Fri, 3 Jun 2016 17:06:17 +0000 (UTC) Received: from ip-10-146-233-104.ec2.internal (ec2-75-101-130-251.compute-1.amazonaws.com [75.101.130.251]) by mx1-lw-us.apache.org (ASF Mail Server at mx1-lw-us.apache.org) with ESMTPS id 99B755F477 for ; Fri, 3 Jun 2016 17:06:17 +0000 (UTC) Received: from localhost (localhost [127.0.0.1]) by ip-10-146-233-104.ec2.internal (8.14.4/8.14.4) with ESMTP id u53H6GMt001365; Fri, 3 Jun 2016 17:06:16 GMT Date: Fri, 3 Jun 2016 17:06:16 +0000 From: "David Knupp (Code Review)" To: impala-cr@cloudera.com, dev@impala.incubator.apache.org Message-ID: Reply-To: dknupp@cloudera.com X-Gerrit-MessageType: newchange Subject: =?UTF-8?Q?=5BImpala-CR=5D=28cdh5-trunk=29_IMPALA-3491=3A_Use_unique_database_fixture_in_test_shell_commandline=2Epy=2E=0A?= X-Gerrit-Change-Id: Icdcb04a99c0907fc1ba56baa2497fafb33b0e34e X-Gerrit-ChangeURL: X-Gerrit-Commit: 00fd4e11e0c52b53d0f906c19decbcfce359c5b6 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Content-Disposition: inline User-Agent: Gerrit/2.12.2 archived-at: Fri, 03 Jun 2016 17:06:22 -0000 David Knupp has uploaded a new change for review. http://gerrit.cloudera.org:8080/3301 Change subject: IMPALA-3491: Use unique_database fixture in test_shell_commandline.py. ...................................................................... IMPALA-3491: Use unique_database fixture in test_shell_commandline.py. Before this change, a single test database was created for the entire suite, and each test was marked to run serially. With the addition of a test fixture in tests/conftest.py to create a unique database per each individual method, it's possible now to run the tests in parallel. (The tables required by individual tests are created via local test fixtures.) As such, any methods which had been responsible for setting up the test database were removed. Pytest markers for running tests serially were also removed, except in cases where interactions from running concurrency would affect other tests. Additonal minor changes were made to improve PEP-8 compliance. The non-serial tests were run in a loop ten times to confirm that there weren't any unexpected failures. Change-Id: Icdcb04a99c0907fc1ba56baa2497fafb33b0e34e --- M tests/shell/test_shell_commandline.py 1 file changed, 93 insertions(+), 90 deletions(-) git pull ssh://gerrit.cloudera.org:29418/Impala refs/changes/01/3301/1 -- To view, visit http://gerrit.cloudera.org:8080/3301 To unsubscribe, visit http://gerrit.cloudera.org:8080/settings Gerrit-MessageType: newchange Gerrit-Change-Id: Icdcb04a99c0907fc1ba56baa2497fafb33b0e34e Gerrit-PatchSet: 1 Gerrit-Project: Impala Gerrit-Branch: cdh5-trunk Gerrit-Owner: David Knupp Gerrit-Reviewer: Alex Behm Gerrit-Reviewer: Michael Brown