pg.ddx.io  pgsql-committers@postgresql.org mailing list archive  
help / color / mirror / Atom feed
pgsql: Introduce PG_TEST_TIMEOUT_DEFAULT for TAP suite non-elapsing tim
6+ messages / 1 participants
[nested] [flat]

* pgsql: Introduce PG_TEST_TIMEOUT_DEFAULT for TAP suite non-elapsing tim
@ 2022-03-05 02:56 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Noah Misch @ 2022-03-05 02:56 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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
------
master

Details
-------
https://git.postgresql.org/pg/commitdiff/f2698ea02ca8a56f38935d2b300ac54936712558

Modified Files
--------------
contrib/amcheck/t/002_cic.pl                       |  3 ++-
contrib/amcheck/t/003_cic_2pc.pl                   | 14 ++++++-----
src/bin/pg_ctl/t/004_logrotate.pl                  |  4 +--
src/bin/pg_dump/t/002_pg_dump.pl                   |  3 ++-
src/bin/psql/t/010_tab_completion.pl               |  6 ++---
src/bin/psql/t/020_cancel.pl                       |  5 ++--
src/bin/scripts/t/080_pg_isready.pl                |  4 +--
src/test/perl/PostgreSQL/Test/Cluster.pm           | 29 ++++++++++++----------
src/test/perl/PostgreSQL/Test/Utils.pm             |  8 ++++--
src/test/perl/README                               |  6 +++++
src/test/recovery/t/003_recovery_targets.pl        |  4 +--
src/test/recovery/t/006_logical_decoding.pl        |  6 +++--
.../recovery/t/010_logical_decoding_timelines.pl   |  4 +--
src/test/recovery/t/013_crash_restart.pl           |  6 +----
src/test/recovery/t/017_shm.pl                     | 13 +++++-----
src/test/recovery/t/019_replslot_limit.pl          |  6 ++---
src/test/recovery/t/021_row_visibility.pl          |  7 ++----
src/test/recovery/t/022_crash_temp_files.pl        |  6 +----
src/test/recovery/t/024_archive_recovery.pl        |  4 +--
src/test/subscription/t/015_stream.pl              |  2 +-
20 files changed, 75 insertions(+), 65 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Introduce PG_TEST_TIMEOUT_DEFAULT for TAP suite non-elapsing tim
@ 2022-03-05 02:56 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Noah Misch @ 2022-03-05 02:56 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_14_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/f60bb3e0a9044058a3df1d75bb900e77e51ad4ed

Modified Files
--------------
contrib/amcheck/t/002_cic.pl                       |  3 ++-
contrib/amcheck/t/003_cic_2pc.pl                   | 14 +++++++------
src/bin/pg_ctl/t/004_logrotate.pl                  |  2 +-
src/bin/pg_dump/t/002_pg_dump.pl                   |  3 ++-
src/bin/psql/t/010_tab_completion.pl               |  6 +++---
src/bin/scripts/t/080_pg_isready.pl                |  4 ++--
src/test/perl/PostgresNode.pm                      | 24 +++++++++++++---------
src/test/perl/TestLib.pm                           |  8 ++++++--
src/test/recovery/t/003_recovery_targets.pl        |  4 ++--
src/test/recovery/t/006_logical_decoding.pl        |  6 ++++--
.../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 ++++++------
src/test/recovery/t/019_replslot_limit.pl          |  6 +++---
src/test/recovery/t/021_row_visibility.pl          |  7 ++-----
src/test/recovery/t/022_crash_temp_files.pl        |  6 +-----
src/test/recovery/t/024_archive_recovery.pl        |  4 ++--
src/test/subscription/t/015_stream.pl              |  2 +-
18 files changed, 63 insertions(+), 55 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Introduce PG_TEST_TIMEOUT_DEFAULT for TAP suite non-elapsing tim
@ 2022-03-05 02:56 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Noah Misch @ 2022-03-05 02:56 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_13_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/29ec94efd08b0b3f863db13f5978cdeab4f1c8dc

Modified Files
--------------
contrib/amcheck/t/002_cic.pl                       |  3 ++-
contrib/amcheck/t/003_cic_2pc.pl                   | 14 +++++++------
src/bin/pg_ctl/t/004_logrotate.pl                  |  2 +-
src/bin/pg_dump/t/002_pg_dump.pl                   |  3 ++-
src/bin/psql/t/010_tab_completion.pl               |  6 +++---
src/bin/scripts/t/080_pg_isready.pl                |  4 ++--
src/test/perl/PostgresNode.pm                      | 24 +++++++++++++---------
src/test/perl/TestLib.pm                           |  7 ++++++-
src/test/recovery/t/003_recovery_targets.pl        |  4 ++--
src/test/recovery/t/006_logical_decoding.pl        |  4 ++--
.../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 ++++++------
src/test/recovery/t/019_replslot_limit.pl          |  2 +-
14 files changed, 53 insertions(+), 39 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Introduce PG_TEST_TIMEOUT_DEFAULT for TAP suite non-elapsing tim
@ 2022-03-05 02:56 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Noah Misch @ 2022-03-05 02:56 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_12_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/8700a487359f121562aa03d36f5f5a61bfc34f8f

Modified Files
--------------
contrib/amcheck/t/002_cic.pl                          |  3 ++-
contrib/amcheck/t/003_cic_2pc.pl                      | 14 ++++++++------
src/bin/pg_ctl/t/004_logrotate.pl                     |  2 +-
src/bin/pg_dump/t/002_pg_dump.pl                      |  3 ++-
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 +++++++------
11 files changed, 42 insertions(+), 30 deletions(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Introduce PG_TEST_TIMEOUT_DEFAULT for TAP suite non-elapsing tim
@ 2022-03-05 02:56 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Noah Misch @ 2022-03-05 02:56 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread

* pgsql: Introduce PG_TEST_TIMEOUT_DEFAULT for TAP suite non-elapsing tim
@ 2022-03-05 02:56 Noah Misch <noah@leadboat.com>
  0 siblings, 0 replies; 6+ messages in thread

From: Noah Misch @ 2022-03-05 02:56 UTC (permalink / raw)
  To: pgsql-committers@lists.postgresql.org

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_10_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/7f2e1befc039029ce5be36088f6872ad393d007c

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(-)



^ permalink  raw  reply  [nested|flat] 6+ messages in thread


end of thread, other threads:[~2022-03-05 02:56 UTC | newest]

Thread overview: 6+ messages (download: mbox mbox.gz follow: Atom feed)
-- links below jump to the message on this page --
2022-03-05 02:56 pgsql: Introduce PG_TEST_TIMEOUT_DEFAULT for TAP suite non-elapsing tim Noah Misch <noah@leadboat.com>
2022-03-05 02:56 pgsql: Introduce PG_TEST_TIMEOUT_DEFAULT for TAP suite non-elapsing tim Noah Misch <noah@leadboat.com>
2022-03-05 02:56 pgsql: Introduce PG_TEST_TIMEOUT_DEFAULT for TAP suite non-elapsing tim Noah Misch <noah@leadboat.com>
2022-03-05 02:56 pgsql: Introduce PG_TEST_TIMEOUT_DEFAULT for TAP suite non-elapsing tim Noah Misch <noah@leadboat.com>
2022-03-05 02:56 pgsql: Introduce PG_TEST_TIMEOUT_DEFAULT for TAP suite non-elapsing tim Noah Misch <noah@leadboat.com>
2022-03-05 02:56 pgsql: Introduce PG_TEST_TIMEOUT_DEFAULT for TAP suite non-elapsing tim Noah Misch <noah@leadboat.com>

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