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

Tatsuo Ishii ishii at sraoss.co.jp
Fri May 28 16:59:27 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_2_STABLE

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

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