Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gtyrG-0002ov-Du for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Feb 2019 18:02:06 +0000 Received: from localhost ([127.0.0.1] helo=malur.postgresql.org) by malur.postgresql.org with esmtp (Exim 4.89) (envelope-from ) id 1gtyrF-0002Om-8g for pgsql-hackers@arkaria.postgresql.org; Wed, 13 Feb 2019 18:02:05 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gtyrE-0002Kv-WC for pgsql-hackers@lists.postgresql.org; Wed, 13 Feb 2019 18:02:05 +0000 Received: from sss.pgh.pa.us ([66.207.139.130]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.89) (envelope-from ) id 1gtyr8-0000ot-NQ for pgsql-hackers@postgresql.org; Wed, 13 Feb 2019 18:02:04 +0000 Received: from sss1.sss.pgh.pa.us (localhost [127.0.0.1]) by sss.pgh.pa.us (8.14.4/8.14.4) with ESMTP id x1DI1q79030747; Wed, 13 Feb 2019 13:01:52 -0500 From: Tom Lane To: Andres Freund cc: Alvaro Herrera , Thomas Munro , pgsql-hackers@postgresql.org Subject: Re: reducing isolation tests runtime In-reply-to: <20190213174650.3bjgfzjcnw3ys5ab@alap3.anarazel.de> References: <20190213154008.GA16739@alvherre.pgsql> <25068.1550073530@sss.pgh.pa.us> <20190213170339.7j5emqw6wvxiuuhv@alap3.anarazel.de> <29883.1550079701@sss.pgh.pa.us> <20190213174650.3bjgfzjcnw3ys5ab@alap3.anarazel.de> Comments: In-reply-to Andres Freund message dated "Wed, 13 Feb 2019 09:46:50 -0800" MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-ID: <30745.1550080912.1@sss.pgh.pa.us> Date: Wed, 13 Feb 2019 13:01:52 -0500 Message-ID: <30746.1550080912@sss.pgh.pa.us> List-Id: List-Help: List-Subscribe: List-Post: List-Owner: List-Archive: Precedence: bulk Andres Freund writes: > Right, but why don't we allow for more tests in a group, and then use a > default max_connections to limit concurrency? Having larger groups is > advantageous wrt test runtime - it reduces the number of artificial > serialization point where the slowest test slows things down. Obviously > there's still a few groups that are needed for test interdependency > management, but that's comparatively rare. We have have plenty groups > that are just broken up to stay below max_concurrent_tests. Meh. That would also greatly increase the scope for hard-to-reproduce conflicts between concurrent tests. I'm not especially excited about going there. regards, tom lane