pgpool2.git / summary / log / commit / refs

commit    200df799410bebbbcce0eff8abe7add76556487b
Author:   Tatsuo Ishii <ishii@sraoss.co.jp>
Date:     Tue Jul 02 09:40:11 2019 +0000

    Make shutdownall to wait for completion of shutdown of Pgpool-II.
    
    It was observed that regression test occasionally failed because
    previous does not completely finished before next test started. To fix
    the problem, make shutdownall script generated by pgpool_setup to wait
    for completion of shutdown of Pgpool-II.


src/test/pgpool_setup | 1 + 1 file changed, 1 insertion(+) diff --git a/src/test/pgpool_setup b/src/test/pgpool_setup index 6ec053fda..6f4d6422c 100755 --- a/src/test/pgpool_setup +++ b/src/test/pgpool_setup @@ -828,6 +828,7 @@ chmod 755 $STARTALL echo 'dir=`pwd`' > $SHUTDOWNALL echo "PGPOOL_INSTALL_DIR=$PGPOOL_INSTALL_DIR" >> $SHUTDOWNALL echo '$PGPOOL_INSTALL_DIR/bin/pgpool -f $dir/etc/pgpool.conf -m f stop' >> $SHUTDOWNALL +echo 'while [ -f $dir/run/pgpool.pid ];do sleep 1;done' >> $SHUTDOWNALL chmod 755 $SHUTDOWNALL echo 'dir=`pwd`' > $PGPOOL_RELOAD echo "PGPOOL_INSTALL_DIR=$PGPOOL_INSTALL_DIR" >> $PGPOOL_RELOAD [parent: 6a74642ceda1]