pgsql: Improve isolation tests infrastructure.

From: Andres Freund <andres(at)anarazel(dot)de>
To: pgsql-committers(at)postgresql(dot)org
Subject: pgsql: Improve isolation tests infrastructure.
Date: 2017-03-14 23:10:19
Views: Raw Message | Whole Thread | Download mbox | Resend email
Lists: pgsql-committers pgsql-hackers

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

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



Modified Files
contrib/test_decoding/.gitignore | 5 +++--
contrib/test_decoding/Makefile | 7 +-----
src/ | 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(-)


Browse pgsql-committers by date

  From Date Subject
Next Message Robert Haas 2017-03-14 23:32:45 pgsql: Some preliminary refactoring towards partitionwise join.
Previous Message Peter Eisentraut 2017-03-14 21:38:07 pgsql: Add option to control snapshot export to CREATE_REPLICATION_SLOT

Browse pgsql-hackers by date

  From Date Subject
Next Message David Fetter 2017-03-14 23:18:04 Re: multivariate statistics (v25)
Previous Message Tom Lane 2017-03-14 23:10:13 Re: [PATCH] Generic type subscripting