pgsql: Retry initial slurp_file("current_logfiles"), in test 004_logrot

From: Noah Misch <noah(at)leadboat(dot)com>
To: pgsql-committers(at)lists(dot)postgresql(dot)org
Subject: pgsql: Retry initial slurp_file("current_logfiles"), in test 004_logrot
Date: 2020-11-29 05:54:16
Message-ID: E1kjFf6-0007Bh-93@gemulon.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgsql-committers

Retry initial slurp_file("current_logfiles"), in test 004_logrotate.pl.

Buildfarm member topminnow failed when the test script attempted this
before the syslogger would have created the file. Back-patch to v12,
which introduced the test.

Branch
------
REL_12_STABLE

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

Modified Files
--------------
src/bin/pg_ctl/t/004_logrotate.pl | 17 +++++++++++++----
1 file changed, 13 insertions(+), 4 deletions(-)

Browse pgsql-committers by date

  From Date Subject
Next Message Tom Lane 2020-11-29 18:58:57 pgsql: Doc: clarify behavior of PQconnectdbParams().
Previous Message Tom Lane 2020-11-28 21:08:40 pgsql: Clean up after tests in src/test/locale/.