]> git.ipfire.org Git - thirdparty/postgresql.git/commit
Minor test fixes in 035_standby_logical_decoding.pl
authorMelanie Plageman <melanieplageman@gmail.com>
Mon, 4 Aug 2025 19:07:32 +0000 (15:07 -0400)
committerMelanie Plageman <melanieplageman@gmail.com>
Mon, 4 Aug 2025 19:07:32 +0000 (15:07 -0400)
commit6551a05d9cf8ea75c0db232b661dadd16e595854
treefbeb923c175090988901918d0e44a2cafd1790f3
parent88f0fdabead51539aa5bdefcf188f07d4651ee10
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
src/test/recovery/t/035_standby_logical_decoding.pl