pgpool2.git / summary / log / commit / refs
commit 46a2c786c2ad1ce6bf6408664292b2d56baa3ce2
Author: Tatsuo Ishii <ishii@sraoss.co.jp>
Date: Fri Aug 21 23:25:52 2020 +0000
Fix occasional 073.pg_terminate_backend test failure.
The test occasionally fails with native replication mode. Let the sleep
before checking connection count a little bit longer to ensure that
the count is properly collected. Also emit timestamp of the counting
so that it actually should collect proper data.
src/test/regression/tests/073.pg_terminate_backend/test.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)
diff --git a/src/test/regression/tests/073.pg_terminate_backend/test.sh b/src/test/regression/tests/073.pg_terminate_backend/test.sh
index 01083bd02..ae7d44083 100755
--- a/src/test/regression/tests/073.pg_terminate_backend/test.sh
+++ b/src/test/regression/tests/073.pg_terminate_backend/test.sh
@@ -53,11 +53,12 @@ do
exit 1
fi
- sleep 5
+ sleep 10
COUNT_UP=`grep "connection_count_up" log/pgpool.log |wc -l`
COUNT_DOWN=`grep "connection_count_down" log/pgpool.log |wc -l`
+ date
echo "count_up: ${COUNT_UP}"
echo "count_down: ${COUNT_DOWN}"
if [ ${COUNT_UP} != ${COUNT_DOWN} ];then
[parent: d662d4cbda9d]