diff options
author | Noah Misch <noah@leadboat.com> | 2022-03-04 18:53:13 -0800 |
---|---|---|
committer | Noah Misch <noah@leadboat.com> | 2022-03-04 18:53:17 -0800 |
commit | 29ec94efd08b0b3f863db13f5978cdeab4f1c8dc (patch) | |
tree | 7c3794291cf7c2a1bf6f38a775e4d8ec767186cf /src/common/jsonapi.c | |
parent | 59392746cb3fd3c23b5f7bfa9568a71705ca30d1 (diff) | |
download | postgresql-29ec94efd08b0b3f863db13f5978cdeab4f1c8dc.tar.gz postgresql-29ec94efd08b0b3f863db13f5978cdeab4f1c8dc.zip |
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
Diffstat (limited to 'src/common/jsonapi.c')
0 files changed, 0 insertions, 0 deletions