pg.ddx.io pgsql-committers@postgresql.org mailing list archivehelp / color / mirror / Atom feed
pgsql: Cleanup some code related to pgbench log checks in TAP tests 4+ messages / 1 participants [nested] [flat]
* pgsql: Cleanup some code related to pgbench log checks in TAP tests @ 2021-06-25 11:16 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 4+ messages in thread From: Michael Paquier @ 2021-06-25 11:16 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Cleanup some code related to pgbench log checks in TAP tests This fixes a couple of problems within the so-said code of this commit subject: - Replace the use of open() with slurp_file(), fixing an issue reported by buildfarm member fairywren whose perl installation keep around CRLF characters, causing the matching patterns for the logs to fail. - Remove the eval block, which is not really necessary. This set of issues has come into light after fixing a different issue with c13585fe, and this is wrong since this code has been introduced. Reported-by: Andrew Dunstan, and buildfarm member fairywren Author: Michael Paquier Reviewed-by: Andrew Dunstan Discussion: https://postgr.es/m/0f49303e-7784-b3ee-200b-cbf67be2eb9e@dunslane.net Backpatch-through: 11 Branch ------ master Details ------- https://git.postgresql.org/pg/commitdiff/38ff135d9466c35b506b1049fedef73047907be0 Modified Files -------------- src/bin/pgbench/t/001_pgbench_with_server.pl | 37 ++++++++++++++-------------- 1 file changed, 18 insertions(+), 19 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Cleanup some code related to pgbench log checks in TAP tests @ 2021-06-25 11:16 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 4+ messages in thread From: Michael Paquier @ 2021-06-25 11:16 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Cleanup some code related to pgbench log checks in TAP tests This fixes a couple of problems within the so-said code of this commit subject: - Replace the use of open() with slurp_file(), fixing an issue reported by buildfarm member fairywren whose perl installation keep around CRLF characters, causing the matching patterns for the logs to fail. - Remove the eval block, which is not really necessary. This set of issues has come into light after fixing a different issue with c13585fe, and this is wrong since this code has been introduced. Reported-by: Andrew Dunstan, and buildfarm member fairywren Author: Michael Paquier Reviewed-by: Andrew Dunstan Discussion: https://postgr.es/m/0f49303e-7784-b3ee-200b-cbf67be2eb9e@dunslane.net Backpatch-through: 11 Branch ------ REL_13_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/af2e67b47afe56627c6ced8cd5741d345fc64da9 Modified Files -------------- src/bin/pgbench/t/001_pgbench_with_server.pl | 31 ++++++++++++++++++---------- 1 file changed, 20 insertions(+), 11 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Cleanup some code related to pgbench log checks in TAP tests @ 2021-06-25 11:16 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 4+ messages in thread From: Michael Paquier @ 2021-06-25 11:16 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Cleanup some code related to pgbench log checks in TAP tests This fixes a couple of problems within the so-said code of this commit subject: - Replace the use of open() with slurp_file(), fixing an issue reported by buildfarm member fairywren whose perl installation keep around CRLF characters, causing the matching patterns for the logs to fail. - Remove the eval block, which is not really necessary. This set of issues has come into light after fixing a different issue with c13585fe, and this is wrong since this code has been introduced. Reported-by: Andrew Dunstan, and buildfarm member fairywren Author: Michael Paquier Reviewed-by: Andrew Dunstan Discussion: https://postgr.es/m/0f49303e-7784-b3ee-200b-cbf67be2eb9e@dunslane.net Backpatch-through: 11 Branch ------ REL_12_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/79c24a0c21c4e6d4e62ff0a2314b6dd759c1dd37 Modified Files -------------- src/bin/pgbench/t/001_pgbench_with_server.pl | 31 ++++++++++++++++++---------- 1 file changed, 20 insertions(+), 11 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
* pgsql: Cleanup some code related to pgbench log checks in TAP tests @ 2021-06-25 11:16 Michael Paquier <michael@paquier.xyz> 0 siblings, 0 replies; 4+ messages in thread From: Michael Paquier @ 2021-06-25 11:16 UTC (permalink / raw) To: pgsql-committers@lists.postgresql.org Cleanup some code related to pgbench log checks in TAP tests This fixes a couple of problems within the so-said code of this commit subject: - Replace the use of open() with slurp_file(), fixing an issue reported by buildfarm member fairywren whose perl installation keep around CRLF characters, causing the matching patterns for the logs to fail. - Remove the eval block, which is not really necessary. This set of issues has come into light after fixing a different issue with c13585fe, and this is wrong since this code has been introduced. Reported-by: Andrew Dunstan, and buildfarm member fairywren Author: Michael Paquier Reviewed-by: Andrew Dunstan Discussion: https://postgr.es/m/0f49303e-7784-b3ee-200b-cbf67be2eb9e@dunslane.net Backpatch-through: 11 Branch ------ REL_11_STABLE Details ------- https://git.postgresql.org/pg/commitdiff/c4c9c77e56e71afe79bec7ca1b03b8637746b26f Modified Files -------------- src/bin/pgbench/t/001_pgbench_with_server.pl | 31 ++++++++++++++++++---------- 1 file changed, 20 insertions(+), 11 deletions(-) ^ permalink raw reply [nested|flat] 4+ messages in thread
end of thread, other threads:[~2021-06-25 11:16 UTC | newest] Thread overview: 4+ messages (download: mbox mbox.gz follow: Atom feed) -- links below jump to the message on this page -- 2021-06-25 11:16 pgsql: Cleanup some code related to pgbench log checks in TAP tests Michael Paquier <michael@paquier.xyz> 2021-06-25 11:16 pgsql: Cleanup some code related to pgbench log checks in TAP tests Michael Paquier <michael@paquier.xyz> 2021-06-25 11:16 pgsql: Cleanup some code related to pgbench log checks in TAP tests Michael Paquier <michael@paquier.xyz> 2021-06-25 11:16 pgsql: Cleanup some code related to pgbench log checks in TAP tests Michael Paquier <michael@paquier.xyz>
This inbox is served by DDX for PostgreSQL; see mirroring instructions for how to clone and mirror all data and code used for this inbox