[pgpool-committers: 7779] pgpool: Fix occasional regression test 018.detach_primary error.

Tatsuo Ishii ishii at sraoss.co.jp
Fri May 28 16:59:22 JST 2021


Fix occasional regression test 018.detach_primary error.

According to the buildfarm log, the test failed at after this:
with this:
$PGPOOL_INSTALL_DIR/bin/pcp_watchdog_info -v -w -p $PCP_PORT
error message was:
ERROR: connection to socket "/tmp/.s.PGSQL.50001" failed with error "No such file or directory"
This suggests that pcp_watchdog_info fails because pcp server has not started yet.

To fix this add wait_for_pgpool_startup before pcp_watchdog_info.

Branch
------
V4_1_STABLE

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=4e9e384db3816589b2821c5e117658e509be19c9

Modified Files
--------------
src/test/regression/tests/018.detach_primary/test.sh | 3 +++
1 file changed, 3 insertions(+)



More information about the pgpool-committers mailing list