Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1b6tK1-0005oc-0X for pgsql-hackers@arkaria.postgresql.org; Sun, 29 May 2016 05:31:33 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1b6tK0-0002kY-Hv for pgsql-hackers@arkaria.postgresql.org; Sun, 29 May 2016 05:31:32 +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 1b6tJz-0002kJ-Na for pgsql-hackers@postgresql.org; Sun, 29 May 2016 05:31:31 +0000 Received: from mail-pf0-x232.google.com ([2607:f8b0:400e:c00::232]) by makus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1b6tJw-0006Qj-GX for pgsql-hackers@postgresql.org; Sun, 29 May 2016 05:31:30 +0000 Received: by mail-pf0-x232.google.com with SMTP id b124so54251473pfb.0 for ; Sat, 28 May 2016 22:31:28 -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=0ptDWgTP6tnc9oslp276rpr5s2Bhmd1n1RhpH9cZbKU=; b=JXnnwwsksnDVOJvbIwHXZrkoRWh6xGCdV8IqLxFSSYci2AVRYd9btJYlbN1XhO59LZ vA+w9SNe2M7TzJadhB2SDH+rYHuTa02fzPEJEtQKAHAbK1X6uzrRtjJHKZyqdRurfjwf y3IGvq3ZhmGXrsUtDTCiugrt5wiU4JxcIXHik= 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=0ptDWgTP6tnc9oslp276rpr5s2Bhmd1n1RhpH9cZbKU=; b=IRe8k/EGxx3nFmrX1Xobab/zN7tcEAcuYLaAvEGp7OnCu3hbvn3dgxdHBAdonDxrst lOix/8zBDkvPshz3uSqWh7MdVAKEKbNYx04aUyf8N3QXhZ8YBgj8NhwdNpHRX0YKqx48 sBqkqk/G2pSXFppmPA9Td3CVefjKNwphegEOawBhAEjoZTievpGg+Ecj5C7NE/HVwmAL 9KHMyVJzJwX5Hfs66sMpvDLl1AF7aKMkWkwQdlKSw/7pNp+cVaSSR2Paq6g2X1e8ADYi 5eAZz0rdTGkdYhVJZ91Qgv8tfHl/yyjO8jh3gSBTlDA8jFloDHIlfTa81lbgusHAk5N4 AtcA== X-Gm-Message-State: ALyK8tLyo/8VDMKKkKmB5izH+/O7Yj5lWzr/LQuG7s1AAJhTLNxXOlcml3T0OjD+BSC1mg== X-Received: by 10.98.103.7 with SMTP id b7mr35131133pfc.19.1464499887511; Sat, 28 May 2016 22:31:27 -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 l73sm1578309pfa.36.2016.05.28.22.31.26 (version=TLSv1/SSLv3 cipher=OTHER); Sat, 28 May 2016 22:31:27 -0700 (PDT) Date: Sun, 29 May 2016 01:31:24 -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: <20160529053124.GC496776@tornado.leadboat.com> References: <20160509012055.GA433959@alvherre.pgsql> <20160509145023.tkdpyygfxu56ngzz@alap3.anarazel.de> MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Disposition: inline Content-Transfer-Encoding: 8bit In-Reply-To: User-Agent: Mutt/1.5.24 (2015-08-30) X-Pg-Spam-Score: -2.7 (--) 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 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 -- Sent via pgsql-hackers mailing list (pgsql-hackers@postgresql.org) To make changes to your subscription: http://www.postgresql.org/mailpref/pgsql-hackers