From: Alvaro Herrera <alvherre@2ndquadrant.com>
To: Tom Lane <tgl@sss.pgh.pa.us>
Cc: Andres Freund <andres@anarazel.de>
Cc: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: pgsql-hackers@postgresql.org
Subject: Re: reducing isolation tests runtime
Date: Wed, 13 Feb 2019 12:40:08 -0300
Message-ID: <20190213154008.GA16739@alvherre.pgsql> (raw)
In-Reply-To: <21516.1550068475@sss.pgh.pa.us>
On 2019-Feb-13, Tom Lane wrote:
> Andres Freund <andres@anarazel.de> writes:
> > I'm working an updated version of this. Adding the new tests is a bit
> > painful because of conflicting names making it harder than necessary to
> > schedule tests. While it's possible to work out a schedule that doesn't
> > conflict, it's pretty annoying to do and more importantly seems fragile
> > - it's very easy to create schedules that succeed on one machine, and
> > not on another, based on how slow which tests are.
>
> > I'm more inclined to be a bit more aggressive in renaming tables -
> > there's not much point in having a lot of "foo"s around. So I'm
> > inclined to rename some of the names that are more likely to
> > conflict. If we agree on doing that, I'd like to do that first, and
> > commit that more aggressively than the schedule itself.
>
> +1
+1
(Using separate schemas sounds a useful idea if we accumulate dozens of
tests, so I suggest that we do that for future tests, but for the time
being I wouldn't bother.)
> > Do we want to maintain a serial version of the schedule too?
>
> Some of the slower buildfarm critters use MAX_CONNECTIONS to limit
> the load on their hosts. As long as the isolation tests honor that,
> I don't see a real need for a separate serial schedule.
MAX_CONNECTIONS was the only reason I didn't push this through. Do you
(Andres) have any solution to that?
--
Álvaro Herrera https://www.2ndQuadrant.com/
PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Reply to all the recipients from your mail client; the link fills in
the headers below: reply via email
Some clients, webmail especially, drop In-Reply-To and References from
a link, and the reply then starts a new thread: use the mbox below.
To: pgsql-committers@postgresql.org
Cc: alvherre@2ndquadrant.com, tgl@sss.pgh.pa.us, andres@anarazel.de, thomas.munro@enterprisedb.com, pgsql-hackers@postgresql.org
Subject: Re: reducing isolation tests runtime
In-Reply-To: <20190213154008.GA16739@alvherre.pgsql>
References: <21516.1550068475@sss.pgh.pa.us> <20190213154008.GA16739@alvherre.pgsql>
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox