Enforce our convention about max number of parallel regression tests.

Tom Lane <tgl@sss.pgh.pa.us>

Commit: ef73a8162a5fe9c4b2f895bf9fb660f1aabc796c
Author: Tom Lane <tgl@sss.pgh.pa.us>
Date: 2017-10-07T21:20:09Z
Releases: 11.0
Enforce our convention about max number of parallel regression tests.

We have a very old rule that parallel_schedule should have no more
than twenty tests in any one parallel group, so as to provide a
bound on the number of concurrently running processes needed to
pass the tests.  But people keep forgetting the rule, so let's add
a few lines of code to check it.

Discussion: https://postgr.es/m/a37e9c57-22d4-1b82-1270-4501cd2e984e@2ndquadrant.com

Files

PathChange+/−
src/test/regress/GNUmakefile modified +1 −1
src/test/regress/pg_regress.c modified +20 −5
src/tools/msvc/vcregress.pl modified +2 −0

Discussion