[pgpool-hackers: 4165] Allow pgpool_setup to test sample scripts and config files included in RPMs

Bo Peng pengbo at sraoss.co.jp
Mon Jun 6 14:03:38 JST 2022


Currently, pgpool_setup generates scripts (e.g. failover.sh, follow_primary.sh)
to test pgpool.

The attached patch addes a new option "-c" in src/test/regression/regress.sh
and allows pgpool_setup to test sample scripts and config files included in RPMs.
This patch also changes "backend_hostnameX = '/tmp'" to "backend_hostnameX = 'localhost'".

In addition, for automated RPMs testing, the following repository
has been updated to automatically create RPMs and use the created
RPMs to run regression tests.

https://github.com/pgpool/pgpool-II-buildfarm

-- 
Bo Peng <pengbo at sraoss.co.jp>
SRA OSS, Inc. Japan
https://www.sraoss.co.jp/
-------------- next part --------------
A non-text attachment was scrubbed...
Name: test_rpms_v1.patch
Type: application/octet-stream
Size: 20694 bytes
Desc: not available
URL: <http://www.pgpool.net/pipermail/pgpool-hackers/attachments/20220606/7d7d217d/attachment-0001.obj>


More information about the pgpool-hackers mailing list