From: | Noah Misch <noah(at)leadboat(dot)com> |
---|---|
To: | pgsql-committers(at)lists(dot)postgresql(dot)org |
Subject: | pgsql: Introduce PG_TEST_TIMEOUT_DEFAULT for TAP suite non-elapsing tim |
Date: | 2022-03-05 02:56:44 |
Message-ID: | [email protected] |
Views: | Whole Thread | Raw Message | Download mbox | Resend email |
Thread: | |
Lists: | pgsql-committers |
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/[email protected]
Branch
------
REL_10_STABLE
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 | 5 +++--
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/017_shm.pl | 13 +++++++------
9 files changed, 43 insertions(+), 30 deletions(-)
From | Date | Subject | |
---|---|---|---|
Next Message | Andres Freund | 2022-03-05 06:01:02 | pgsql: ci: windows: Work around cirrus-ci bug causing test failures. |
Previous Message | Tom Lane | 2022-03-04 18:24:12 | pgsql: Fix pg_regress to print the correct postmaster address on Window |