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

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

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

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