Fix 075.detach_primary_left_down_node.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Mon, 21 Jun 2021 01:33:41 +0000 (10:33 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Mon, 21 Jun 2021 01:39:04 +0000 (10:39 +0900)
The test script executed pcp_detach_node but it always failed because
it tried to connect to UNIX domain socket.

src/test/regression/tests/075.detach_primary_left_down_node/test.sh

index b6a51e61a772bc6ab1cb30afda3ad63f45baa1c1..c47f88eb6fa799caad9d3ffe35593415f22b9469 100755 (executable)
@@ -24,7 +24,7 @@ export PGPORT=$PGPOOL_PORT
 wait_for_pgpool_startup
 
 # detach node 0
-$PGPOOL_INSTALL_DIR/bin/pcp_detach_node -w -p $PCP_PORT 0
+$PGPOOL_INSTALL_DIR/bin/pcp_detach_node -w -h localhost -p $PCP_PORT 0
 wait_for_pgpool_startup
 
 # check to see if alll nodes are up