]> granicus.if.org Git - postgresql/commit
Improve isolation tests infrastructure.
authorAndres Freund <andres@anarazel.de>
Tue, 14 Mar 2017 22:56:17 +0000 (15:56 -0700)
committerAndres Freund <andres@anarazel.de>
Tue, 14 Mar 2017 22:56:17 +0000 (15:56 -0700)
commit60f826c5e62446d211e15ae31710562a26afc442
tree380fc4c2a2a5856917f35af3535f2ff072b405ab
parenteb4da3e3807d2054bb05c3eb201cb9a363682f09
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
contrib/test_decoding/.gitignore
contrib/test_decoding/Makefile
src/Makefile.global.in
src/test/isolation/.gitignore
src/test/isolation/Makefile
src/test/modules/snapshot_too_old/.gitignore
src/test/modules/snapshot_too_old/Makefile
src/test/regress/pg_regress.c