pgpool2.git / summary / log / commit / refs
commit fbadb70e50ded4daa8d6d6ae68734a677a423d34
Author: Tatsuo Ishii <ishii@sraoss.co.jp>
Date: Wed Oct 23 08:19:13 2019 +0000
Fix 028.watchdog_enable_consensus_with_half_votes test occasional timeout.
The test script set CHECK_TIME_WAIT=true so that next pgpool start is
not affected by remaining open TCP port of previous pgpool. However
with commit d339cf86055b0cedaff2ab043ca474579660541f and
f92b7828c41bfeee17c25a91516412da0ce4c9a0, I suspect it is possible
that the problem was caused by pgpool actually was not terminated by
SIGTERM, so let's try to disable the CHECK_TIME_WAIT (if it's true,
the script takes extract time to finish) to not the test timeout
happen.
.../tests/028.watchdog_enable_consensus_with_half_votes/test.sh | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/src/test/regression/tests/028.watchdog_enable_consensus_with_half_votes/test.sh b/src/test/regression/tests/028.watchdog_enable_consensus_with_half_votes/test.sh
index 38ee7356b..b29bdc740 100755
--- a/src/test/regression/tests/028.watchdog_enable_consensus_with_half_votes/test.sh
+++ b/src/test/regression/tests/028.watchdog_enable_consensus_with_half_votes/test.sh
@@ -79,7 +79,7 @@ function nodes_even
dir=`pwd`
failed=false
-export CHECK_TIME_WAIT=true
+#export CHECK_TIME_WAIT=true
export PCPPASSFILE=$dir/$TESTDIR/pgpool0/pcppass
for nodes in 2 3 4
[parent: c0b192e19f0f]