pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Andres Freund <andres@anarazel.de>
To: pgsql-committers@postgresql.org
Subject: pgsql: Improve isolation tests infrastructure.
Date: Tue, 14 Mar 2017 23:10:19 +0000
Message-ID: <E1cnva7-0006Xy-Ig@gemulon.postgresql.org> (raw)
List-Unsubscribe:  <mailto:majordomo@postgresql.org?body=unsub%20pgsql-committers>

Improve isolation tests infrastructure.

Previously if a directory had both isolationtester and plain
regression tests, they couldn't be run in parallel, because they'd
access the same files/directories.  That, so far, only affected
contrib/test_decoding.

Rather than fix that locally in contrib/test_decoding, improve
pg_regress_isolation_[install]check to use separate resources from
plain regression tests.

That requires a minor change in pg_regress, namely that the
--outputdir is created if not already existing, that seems like good
idea anyway.

Use the improved helpers even where previously not used.

Author: Tom Lane and Andres Freund
Discussion: https://postgr.es/m/20170311194831.vm5ikpczq52c2drg@alap3.anarazel.de

Branch
------
master

Details
-------
http://git.postgresql.org/pg/commitdiff/60f826c5e62446d211e15ae31710562a26afc442

Modified Files
--------------
contrib/test_decoding/.gitignore             |  5 +++--
contrib/test_decoding/Makefile               |  7 +-----
src/Makefile.global.in                       | 33 +++++++++++++++++++++-------
src/test/isolation/.gitignore                |  5 ++---
src/test/isolation/Makefile                  |  8 +++----
src/test/modules/snapshot_too_old/.gitignore |  2 +-
src/test/modules/snapshot_too_old/Makefile   |  6 ++---
src/test/regress/pg_regress.c                |  6 ++++-
8 files changed, 44 insertions(+), 28 deletions(-)


-- 
Sent via pgsql-committers mailing list (pgsql-committers@postgresql.org)
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-committers


view thread (2+ messages)  latest in thread

Message-ID: <E1cnva7-0006Xy-Ig@gemulon.postgresql.org>
Permalink:  ../E1cnva7-0006Xy-Ig@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1cnva7-0006Xy-Ig@gemulon.postgresql.org

 · 

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: andres@anarazel.de
  Subject: Re: pgsql: Improve isolation tests infrastructure.
  In-Reply-To: <E1cnva7-0006Xy-Ig@gemulon.postgresql.org>
  References: <E1cnva7-0006Xy-Ig@gemulon.postgresql.org>

* 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