[pgpool-hackers: 4078] Re: Run regression test using existing installation

Tatsuo Ishii ishii at sraoss.co.jp
Tue Dec 21 11:21:42 JST 2021


> Currently it is possible to run regression test using existing installation.
> 
> regression.sh -m noinstall
> 
> However some of tests fail in this case because those tests require
> pgpool to be compiled with variable HEALTHCHECK_DEBUG is set. This is
> only possible in following procedure.
> 
> make clean
> cd src/test/regression
> ./regress.sh
> 
> To run the regression test with existing installation I propose to add
> new config variable "health_check_test". The source code is always
> compiled as if HEALTHCHECK_DEBUG is set. But the test facility is not
> activated unless health_check_test is set to on.
> 
> One of benefits of the feature is, packagers can run the regression
> test after creating their packages.
> 
> Attached is the patch for this. Note that The new config variable is
> not added to pgpool.conf.sample in the patch. I think the feature is
> purely for developers and we don't want users to play with the feature.
> 
> Comments and suggestions are welcome.

V2 patch is attached. Documentation patches are added.

Best reagards,
--
Tatsuo Ishii
SRA OSS, Inc. Japan
English: http://www.sraoss.co.jp/index_en.php
Japanese:http://www.sraoss.co.jp
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pgpool_test_v2.diff
Type: text/x-patch
Size: 9544 bytes
Desc: not available
URL: <http://www.pgpool.net/pipermail/pgpool-hackers/attachments/20211221/a4be853b/attachment.bin>


More information about the pgpool-hackers mailing list