From: Tom Lane <tgl@sss.pgh.pa.us>
To: Alvaro Herrera <alvherre@alvh.no-ip.org>
Cc: Thomas Munro <thomas.munro@enterprisedb.com>
Cc: Andres Freund <andres@anarazel.de>
Cc: pgsql-hackers@postgresql.org
Subject: Re: reducing isolation tests runtime
Date: Wed, 24 Jan 2018 18:46:59 -0500
Message-ID: <14481.1516837619@sss.pgh.pa.us> (raw)
In-Reply-To: <20180124231006.z7spaz5gkzbdvob5@alvherre.pgsql>
References: <20180124231006.z7spaz5gkzbdvob5@alvherre.pgsql>
Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> On the subject of test total time, we could paralelize isolation tests.
> Right now "make check" in src/test/isolation takes 1:16 on my machine.
> Test "timeouts" takes full 40s of that, with nothing running in parallel
> -- the machine is completely idle.
BTW, one small issue there is that the reason the timeouts test is so
slow is that we have to use multi-second timeouts to be sure slower
buildfarm critters (eg valgrind animals) will get the expected results.
So I'm worried that if the machine isn't otherwise idle, we will get
random failures.
We could parallelize the rest of those tests and leave timeouts in its own
group. That cuts the payback a lot :-( but might still be worth doing.
Or maybe tweak things so that the buildfarm runs a serial schedule but
manual testing doesn't. Or we could debate how important the timeout
tests really are ... or think harder about how to make them reproducible.
regards, tom lane
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: tgl@sss.pgh.pa.us, alvherre@alvh.no-ip.org, thomas.munro@enterprisedb.com, andres@anarazel.de, pgsql-hackers@postgresql.org
Subject: Re: reducing isolation tests runtime
In-Reply-To: <14481.1516837619@sss.pgh.pa.us>
References: <20180124231006.z7spaz5gkzbdvob5@alvherre.pgsql> <14481.1516837619@sss.pgh.pa.us>
* 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