From: Bo Peng Date: Fri, 14 Aug 2020 02:18:25 +0000 (+0900) Subject: Fix 031.connection_life_time regression test failure. X-Git-Tag: V3_6_22~14 X-Git-Url: http://git.postgresql.org/gitweb/static/gitweb.js?a=commitdiff_plain;h=fd686cb0e74ab8edcc15acd48f3de075c24b8c57;p=pgpool2.git Fix 031.connection_life_time regression test failure. --- diff --git a/src/test/regression/tests/031.connection_life_time/test.sh b/src/test/regression/tests/031.connection_life_time/test.sh index b2cc46e01..7933af92e 100755 --- a/src/test/regression/tests/031.connection_life_time/test.sh +++ b/src/test/regression/tests/031.connection_life_time/test.sh @@ -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"