Test: tweak timeout in 075 test.
authorTatsuo Ishii <ishii@postgresql.org>
Fri, 29 Aug 2025 07:06:53 +0000 (16:06 +0900)
committerTatsuo Ishii <ishii@postgresql.org>
Fri, 29 Aug 2025 07:06:53 +0000 (16:06 +0900)
075.detach_primary_left_down_node set the timeout 60 seconds for
finishing follow primary script.  It turns out that the timeout value
is not long enough, and sometimes caused false errors. So make it from
60 seconds to 120 seconds.

Backpath-through: v4.2

src/test/regression/tests/075.detach_primary_left_down_node/test.sh

index 05fdc5317e7c0ae579d465daf34bf31d842b69f0..30acec9cb8cfa839cfa146cabe36f7f475341a6e 100755 (executable)
@@ -30,7 +30,7 @@ wait_for_pgpool_startup
 # check to see if alll nodes are up
 echo -n "starting to check follow primary results: "
 date
-cnt=60
+cnt=120
 while [ $cnt -gt 0 ]
 do
     $PGBIN/psql -c "show pool_nodes" test 2>&1|grep -E 'down|error'