Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b7vrM-0003Iw-7G for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Jun 2016 02:26:16 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b7vrL-0004jF-Mc for pgsql-hackers@arkaria.postgresql.org; Wed, 01 Jun 2016 02:26:15 +0000 Received: from makus.postgresql.org ([2001:4800:1501:1::229]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1b7vrK-0004iI-Ew for pgsql-hackers@postgresql.org; Wed, 01 Jun 2016 02:26:14 +0000 Received: from mail-pf0-x229.google.com ([2607:f8b0:400e:c00::229]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1b7vrD-0004QK-6j for pgsql-hackers@postgresql.org; Wed, 01 Jun 2016 02:26:12 +0000 Received: by mail-pf0-x229.google.com with SMTP id f144so4570458pfa.3 for ; Tue, 31 May 2016 19:26:06 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=leadboat.com; s=google; h=date:from:to:cc:subject:message-id:references:mime-version :content-disposition:content-transfer-encoding:in-reply-to :user-agent; bh=soWuUXihSzsyvjQNUHNMBNs9rhddvqJT0sBI4w1V6/Q=; b=elYQIrGVSnFJEbkumdH1V064y4LFMDpjTYTi/lAa4PRTceCtzOedZSZZ0YiZnlLPZC x3hqSENAcE+oUO+IRcdk+6YmPs62KZCyEqwd+j3yshGF+qe729IGX6MfrarmEcbAeoQb PqyWok2N27P0opSEZIN7LEs6QllJWj13gSzC8= X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:date:from:to:cc:subject:message-id:references :mime-version:content-disposition:content-transfer-encoding :in-reply-to:user-agent; bh=soWuUXihSzsyvjQNUHNMBNs9rhddvqJT0sBI4w1V6/Q=; b=EoTv/FVTY5vfOGMS+COi3L2+TuwwTRY0hZcQ33m84Fb6JEkhJ/KzEOYN0Q0f0Geeo1 qvKPRWi8/5bAUuW19GaAh5zfqX0niOf7z0KZsYcz9MOZzPv38o2HQRWgIUgjj6khsT0l XEGbmH1ouvFcs1IK4xyTsRx1kj+mY1Lde6qHXoY9YAzz7j19oHXb2daAhW9H7oOOKz+Z akd420vYQm77qr8HYoiHlnzpvv/y+chmYKbREjM23Xlk/5BwQAIqN9YYbKeiphhc2D/+ CBB958ALl4gGz4WeHdv/R8toM7fFTtxcMPyfyHBvcq1yegowVIHtuENWiph2x3OEeS/k yeTg== X-Gm-Message-State: ALyK8tJeSbYiKDNYN4Js0DtCSi/AMXxWwPyQdx65Fxl3+N6B67u1rjV8bLZBo9ZgXN/bqg== X-Received: by 10.98.102.205 with SMTP id s74mr3015822pfj.54.1464747966083; Tue, 31 May 2016 19:26:06 -0700 (PDT) Received: from tornado.leadboat.com (c-98-248-47-228.hsd1.ca.comcast.net. [98.248.47.228]) by smtp.gmail.com with ESMTPSA id v1sm19635952pfa.93.2016.05.31.19.26.05 (version=TLSv1/SSLv3 cipher=OTHER); Tue, 31 May 2016 19:26:05 -0700 (PDT) Date: Tue, 31 May 2016 22:26:03 -0400 From: Noah Misch To: robertmhaas@gmail.com Cc: =?iso-8859-1?Q?Cl=E9ment_Pr=E9vost?= , Andres Freund , Alvaro Herrera , David Rowley , PostgreSQL-development Subject: Re: parallel.c is not marked as test covered Message-ID: <20160601022603.GA596573@tornado.leadboat.com> References: <20160509012055.GA433959@alvherre.pgsql> <20160509145023.tkdpyygfxu56ngzz@alap3.anarazel.de> <20160529053124.GC496776@tornado.leadboat.com> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: <20160529053124.GC496776@tornado.leadboat.com> User-Agent: Mutt/1.5.24 (2015-08-30) X-Pg-Spam-Score: -2.0 (--) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-hackers Precedence: bulk Sender: pgsql-hackers-owner@postgresql.org On Sun, May 29, 2016 at 01:31:24AM -0400, Noah Misch wrote: > On Sun, May 15, 2016 at 12:53:13PM +0000, Clément Prévost wrote: > > On Mon, May 9, 2016 at 4:50 PM Andres Freund wrote: > > > I think it's a good idea to run a force-parallel run on some buildfarm > > > members. But I'm rather convinced that the core tests run by all animals > > > need some minimal coverage of parallel queries. Both because otherwise > > > it'll be hard to get some coverage of unusual platforms, and because > > > it's imo something rather relevant to test during development. > > > > > Good point. > > > > After some experiments, I found out that, for my setup (9b7bfc3a88ef7b), a > > parallel seq scan is used given both parallel_setup_cost > > and parallel_tuple_cost are set to 0 and given that the table is at least 3 > > times as large as the biggest test table tenk1. > > > > The attached patch is a regression test using this method that is > > reasonably small and fast to run. I also hid the workers count from the > > explain output when costs are disabled as suggested by Tom Lane and Robert > > Haas on this same thread ( > > http://www.postgresql.org/message-id/CA+TgmobBQS4ss3+CwoZOKgbsBqKfRndwc=hLiALAep5aXQCTDA@mail.gmail.com > > ). > > > > Testing under these conditions does not test the planner job at all but at > > least some parallel code can be run on the build farm and the test suite > > gets 2643 more lines and 188 more function covered. > > > > I don't know however if this test will be reliable on other platforms, some > > more feedback is needed here. > > [This is a generic notification.] > > The above-described topic is currently a PostgreSQL 9.6 open item. Robert, > since you committed the patch believed to have created it, you own this open > item. If some other commit is more relevant or if this does not belong as a > 9.6 open item, please let us know. Otherwise, please observe the policy on > open item ownership[1] and send a status update within 72 hours of this > message. Include a date for your subsequent status update. Testers may > discover new open items at any time, and I want to plan to get them all fixed > well in advance of shipping 9.6rc1. Consequently, I will appreciate your > efforts toward speedy resolution. Thanks. > > [1] http://www.postgresql.org/message-id/20160527025039.GA447393@tornado.leadboat.com I enjoy reviewing automated test patches, so I persuaded Robert to transfer ownership of this open item to me. I will update this thread no later than 2016-06-07 09:00 UTC. There is an 85% chance I will have reviewed the proposed patch by then. -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers