pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
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: Thu, 25 Jan 2018 10:01:19 -0500
Message-ID: <7752.1516892479@sss.pgh.pa.us> (raw)
In-Reply-To: <20180125143726.tjfcaqwb23lk4u7r@alvherre.pgsql>
References: <20180125143726.tjfcaqwb23lk4u7r@alvherre.pgsql>

Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
> Tom Lane wrote:
>> Alvaro Herrera <alvherre@alvh.no-ip.org> writes:
>>> On the subject of test total time, we could paralelize isolation tests.

>> 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.

> I think we could solve this by putting in the same parallel group only
> slow tests that mostly sleeps, ie. nothing that would monopolize CPU for
> long enough to cause a problem.  Concretely:
> test: timeouts tuplelock-update deadlock-hard deadlock-soft-2

OK, but there'd better be a comment there explaining the concern
very precisely, or somebody will break it.

			regards, tom lane




view thread (21+ messages)  latest in thread

Message-ID: <7752.1516892479@sss.pgh.pa.us>
Permalink:  ../7752.1516892479@sss.pgh.pa.us/
Also on:    postgresql.org/message-id/7752.1516892479@sss.pgh.pa.us

 · 

reply

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: <7752.1516892479@sss.pgh.pa.us>
  References: <20180125143726.tjfcaqwb23lk4u7r@alvherre.pgsql> <7752.1516892479@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