pgsql: Minor test fixes in 035_standby_logical_decoding.pl - Mailing list pgsql-committers

From Melanie Plageman
Subject pgsql: Minor test fixes in 035_standby_logical_decoding.pl
Date
Msg-id E1uj0Z3-000kZN-2A@gemulon.postgresql.org
Whole thread Raw
List pgsql-committers
Minor test fixes in 035_standby_logical_decoding.pl

Import usleep, which, due to an oversight in oversight in commit
48796a98d5ae was used but not imported.

Correct the comparison string used in two logfile checks. Previously, it
was incorrect and thus the test could never have failed.

Also wordsmith a comment to make it clear when hot_standby_feedback is
meant to be on during the test scenarios.

Reported-by: Melanie Plageman <melanieplageman@gmail.com>
Author: Bertrand Drouvot <bertranddrouvot.pg@gmail.com>
Reviewed-by: Masahiko Sawada <sawada.mshk@gmail.com>
Discussion: https://postgr.es/m/flat/CAAKRu_YO2mEm%3DZWZKPjTMU%3DgW5Y83_KMi_1cr51JwavH0ctd7w%40mail.gmail.com
Backpatch-through: 16

Branch
------
REL_16_STABLE

Details
-------
https://git.postgresql.org/pg/commitdiff/3c2c3f2ddb0f27062b73cea500f806e42f01db33

Modified Files
--------------
src/test/recovery/t/035_standby_logical_decoding.pl | 7 ++++---
1 file changed, 4 insertions(+), 3 deletions(-)


pgsql-committers by date:

Previous
From: Dean Rasheed
Date:
Subject: pgsql: Fix typo in create_index.sql.
Next
From: Andrew Dunstan
Date:
Subject: pgsql: fix apparent typo in release notes