Improve isolation tests infrastructure.
Andres Freund <andres@anarazel.de>
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
Files
| Path | Change | +/− |
|---|---|---|
| contrib/test_decoding/.gitignore | modified | +3 −2 |
| contrib/test_decoding/Makefile | modified | +1 −6 |
| src/Makefile.global.in | modified | +25 −8 |
| src/test/isolation/.gitignore | modified | +2 −3 |
| src/test/isolation/Makefile | modified | +4 −4 |
| src/test/modules/snapshot_too_old/.gitignore | modified | +1 −1 |
| src/test/modules/snapshot_too_old/Makefile | modified | +3 −3 |
| src/test/regress/pg_regress.c | modified | +5 −1 |
Discussion
- Need a builtin way to run all tests faster manner 48 messages · 2017-03-06 → 2017-03-15