Fix 073.pg_terminate_backend test failure.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Mon, 17 Aug 2020 08:09:42 +0000 (17:09 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Mon, 17 Aug 2020 08:09:42 +0000 (17:09 +0900)
commitaafc24abfb4fcaad346f8a8e92a63e1606163323
tree4ca2f5036b89f12b94e3896faad4cfc87022817a
parent283517759bd52b4b0381977937557cdeb790c0c1
Fix 073.pg_terminate_backend test failure.

The test failed because before pg_sleep(10) finished, pgpool shut down.
As a result, connection counting did not have a chance to count down.
Adding proper sleep in the script should fix the problem.

Discussion: https://www.pgpool.net/pipermail/pgpool-hackers/2020-August/003766.html
src/test/regression/tests/073.pg_terminate_backend/test.sh