diff options
author | Thomas Munro <tmunro@postgresql.org> | 2022-05-14 11:58:10 +1200 |
---|---|---|
committer | Thomas Munro <tmunro@postgresql.org> | 2022-05-14 11:58:10 +1200 |
commit | 93759c665d482b5bf76ca22c9cac91e713e9386e (patch) | |
tree | ce5f9b9de94618f9a180b711709b1174b261dec6 /src/backend/access/gist/gistxlog.c | |
parent | fcab82a2d79b4533cfdc8e8d5e00dbdf6830d63a (diff) | |
download | postgresql-93759c665d482b5bf76ca22c9cac91e713e9386e.tar.gz postgresql-93759c665d482b5bf76ca22c9cac91e713e9386e.zip |
Fix slow animal timeouts in 032_relfilenode_reuse.pl.
Per BF animal chipmunk: CREATE DATABASE could apparently fail due to an
AV process being in the template database and not quitting fast enough
for the 5 second timeout in CountOtherDBBackends(). The test script had
autovacuum_naptime=1s to encourage more activity and opening of fds, but
that wasn't strictly necessary for this test. Take it out.
Per BF animal skink: there was a 300s timeout for all tests in the
script, but apparently that was not enough under valgrind. Let's use
the standard timeout $PostgreSQL::Test::Utils::timeout_default, but
restart it for each query we run.
Reviewed-by: Robert Haas <robertmhaas@gmail.com>
Discussion: https://postgr.es/m/CA%2BhUKGKa8HNJaA24gqiiFoGy0ysndeVoJsHvX_q1-DVLFaGAmw%40mail.gmail.com
Diffstat (limited to 'src/backend/access/gist/gistxlog.c')
0 files changed, 0 insertions, 0 deletions