Fix 018.detach_primary error in the log.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Mon, 21 Jun 2021 01:19:23 +0000 (10:19 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Mon, 21 Jun 2021 01:22:00 +0000 (10:22 +0900)
The regression test itself passes but execution of pcp_watchdog_info
to get information failed because it tried to connect to UNIX domain
socket.

src/test/regression/tests/018.detach_primary/test.sh

index 2ded69150b95be377e62cbd1600e9a8e1c8c01ee..82b820061c4dda3cff31703f0cc56bf2e2c89550 100755 (executable)
@@ -105,7 +105,7 @@ sleep 10
 date
 wait_for_pgpool_startup
 date
-$PGPOOL_INSTALL_DIR/bin/pcp_watchdog_info -v -w -p $PCP_PORT
+$PGPOOL_INSTALL_DIR/bin/pcp_watchdog_info -v -w -h localhost -p $PCP_PORT
 
 $PSQL -c "show pool_nodes" postgres