pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: Noah Misch <noah@leadboat.com>
To: pgsql-committers@lists.postgresql.org
Subject: pgsql: Introduce PG_TEST_TIMEOUT_DEFAULT for TAP suite non-elapsing tim
Date: Sat, 05 Mar 2022 02:56:44 +0000
Message-ID: <E1nQKb5-000z7l-IY@gemulon.postgresql.org> (raw)

Introduce PG_TEST_TIMEOUT_DEFAULT for TAP suite non-elapsing timeouts.

Slow hosts may avoid load-induced, spurious failures by setting
environment variable PG_TEST_TIMEOUT_DEFAULT to some number of seconds
greater than 180.  Developers may see faster failures by setting that
environment variable to some lesser number of seconds.  In tests, write
$PostgreSQL::Test::Utils::timeout_default wherever the convention has
been to write 180.  This change raises the default for some briefer
timeouts.  Back-patch to v10 (all supported versions).

Discussion: https://postgr.es/m/20220218052842.GA3627003@rfd.leadboat.com

Branch
------
REL_11_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/49e8a5d3998196105949eeb6dfd3c6e994282e31

Modified Files
--------------
src/bin/pg_dump/t/002_pg_dump.pl                      |  3 ++-
src/bin/pgbench/t/022_cic.pl                          |  5 +++--
src/bin/pgbench/t/023_cic_2pc.pl                      | 16 +++++++++-------
src/bin/scripts/t/080_pg_isready.pl                   |  4 ++--
src/test/perl/PostgresNode.pm                         | 17 ++++++++++-------
src/test/perl/TestLib.pm                              |  6 +++++-
src/test/recovery/t/006_logical_decoding.pl           |  4 ++--
src/test/recovery/t/010_logical_decoding_timelines.pl |  4 ++--
src/test/recovery/t/013_crash_restart.pl              |  2 +-
src/test/recovery/t/017_shm.pl                        | 13 +++++++------
10 files changed, 43 insertions(+), 31 deletions(-)



view thread (6+ messages)  latest in thread

Message-ID: <E1nQKb5-000z7l-IY@gemulon.postgresql.org>
Permalink:  ../E1nQKb5-000z7l-IY@gemulon.postgresql.org/
Also on:    postgresql.org/message-id/E1nQKb5-000z7l-IY@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: noah@leadboat.com
  Subject: Re: pgsql: Introduce PG_TEST_TIMEOUT_DEFAULT for TAP suite non-elapsing tim
  In-Reply-To: <E1nQKb5-000z7l-IY@gemulon.postgresql.org>
  References: <E1nQKb5-000z7l-IY@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