Fix 031.connection_life_time.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Mon, 21 Jun 2021 01:25:49 +0000 (10:25 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Mon, 21 Jun 2021 01:25:49 +0000 (10:25 +0900)
The test script executed pcp_recovery_node but it always failed
because it tried to connect to UNIX domain socket.

src/test/regression/tests/031.connection_life_time/test.sh

index 7933af92e64858a60707f2edefc170b83e377c1c..e2c8b8b4783c2d19ca8200d709f2d887a896ea16 100755 (executable)
@@ -49,7 +49,7 @@ pg_ctl -D data0 -m f stop
 
 wait_for_pgpool_startup
 
-$PGPOOL_INSTALL_DIR/bin/pcp_recovery_node -p $PCP_PORT -w 0
+$PGPOOL_INSTALL_DIR/bin/pcp_recovery_node -h localhost -p $PCP_PORT -w 0
 
 wait_for_pgpool_startup