mirror of
https://github.com/postgres/postgres.git
synced 2025-07-30 11:03:19 +03:00
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
This commit is contained in:
@ -104,6 +104,7 @@ sub installcheck
|
||||
"--dlpath=.",
|
||||
"--bindir=../../../$Config/psql",
|
||||
"--schedule=${schedule}_schedule",
|
||||
"--max-concurrent-tests=20",
|
||||
"--encoding=SQL_ASCII",
|
||||
"--no-locale");
|
||||
push(@args, $maxconn) if $maxconn;
|
||||
@ -122,6 +123,7 @@ sub check
|
||||
"--dlpath=.",
|
||||
"--bindir=",
|
||||
"--schedule=${schedule}_schedule",
|
||||
"--max-concurrent-tests=20",
|
||||
"--encoding=SQL_ASCII",
|
||||
"--no-locale",
|
||||
"--temp-instance=./tmp_check");
|
||||
|
Reference in New Issue
Block a user