Fix 031.connection_life_time regression test failure.
authorBo Peng <pengbo@sraoss.co.jp>
Fri, 14 Aug 2020 02:18:25 +0000 (11:18 +0900)
committerBo Peng <pengbo@sraoss.co.jp>
Fri, 14 Aug 2020 02:18:25 +0000 (11:18 +0900)
src/test/regression/tests/031.connection_life_time/test.sh

index b2cc46e012554afc29ebe34d0a5270851dce458e..7933af92e64858a60707f2edefc170b83e377c1c 100755 (executable)
@@ -49,14 +49,14 @@ pg_ctl -D data0 -m f stop
 
 wait_for_pgpool_startup
 
-pcp_recovery_node -p $PCP_PORT -w 0
+$PGPOOL_INSTALL_DIR/bin/pcp_recovery_node -p $PCP_PORT -w 0
 
 wait_for_pgpool_startup
 
 # get backend pid
 pid=`$PSQL -t -p 11000 -c "select pg_backend_pid()" test`
 echo "backend pid is: $pid"
-sleep `expr $timeout + 1`
+sleep `expr $timeout + 2`
 ps $pid
 if [ $? = 0 ];then
     echo "backend pid $pid still exists"