pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Tom Lane <tgl@sss.pgh.pa.us>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Re-order some regression test scripts for more parallelism.
Date: Thu, 11 Apr 2019 22:16:58 +0000
Message-ID: <E1hEi0A-0006Iz-E7@gemulon.postgresql.org> (raw)

Re-order some regression test scripts for more parallelism.

Move the strings, numerology, insert, insert_conflict, select and
errors tests to be parts of nearby parallel groups, instead of
executing by themselves.  (Moving "select" required adjusting the
constraints test, which uses a table named "tmp" as select also
does.  There don't seem to be any other conflicts.)

Move psql and stats_ext to the next parallel group, where the rules
test also has a long runtime.  To make it safe to run stats_ext in
parallel with rules, I adjusted the latter to only dump views/rules
from the pg_catalog and public schemas, which was what it was doing
anyway.  stats_ext makes some views in a transient schema, which now
will not affect rules.

Reorder serial_schedule to match parallel_schedule.

Discussion: https://postgr.es/m/735.1554935715@sss.pgh.pa.us

Branch
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/798070ec058fe75757587c9e9916cc35c623f427

Modified Files
--------------
src/test/regress/expected/rules.out        |  7 ++++--
src/test/regress/expected/sanity_check.out |  1 +
src/test/regress/input/constraints.source  |  2 +-
src/test/regress/output/constraints.source |  2 +-
src/test/regress/parallel_schedule         | 36 +++++++++++-------------------
src/test/regress/serial_schedule           | 20 ++++++++---------
src/test/regress/sql/rules.sql             |  7 ++++--
7 files changed, 36 insertions(+), 39 deletions(-)



Message-ID: <E1hEi0A-0006Iz-E7@gemulon.postgresql.org>
Permalink:  ../E1hEi0A-0006Iz-E7@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1hEi0A-0006Iz-E7@gemulon.postgresql.org

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients from your mail client; the link fills in
  the headers below: reply via email
  Some clients, webmail especially, drop In-Reply-To and References from
  a link, and the reply then starts a new thread: use the mbox below.

  To: pgsql-committers@postgresql.org
  Cc: tgl@sss.pgh.pa.us
  Subject: Re: pgsql: Re-order some regression test scripts for more parallelism.
  In-Reply-To: <E1hEi0A-0006Iz-E7@gemulon.postgresql.org>
  References: <E1hEi0A-0006Iz-E7@gemulon.postgresql.org>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox