pgpool: Test: enhance 018.detach_primary regression test.

From: Tatsuo Ishii <ishii(at)postgresql(dot)org>
To: pgpool-committers(at)lists(dot)postgresql(dot)org
Subject: pgpool: Test: enhance 018.detach_primary regression test.
Date: 2026-09-20 04:59:34
Message-ID: E1x89eJ-00000001gul-0Cbv@gothos.postgresql.org
Views: Whole Thread | Raw Message | Download mbox | Resend email
Thread:
Lists: pgpool-committers

Test: enhance 018.detach_primary regression test.

The last test in the test is to detect invalid streaming replication
primary node and let it take down when the quorum exists. However the
waiting loop for watchdog coming up did not explicitly check the
existence of quorum.

This commit add the checking.

Author: Tatsuo Ishii <ishii(at)postgresql(dot)org>
Backpatch-through: v4.3

Branch
------
V4_3_STABLE

Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=9350cce020ffb7a3f9ab32fdfb4749fba6c215a5

Modified Files
--------------
src/test/regression/tests/018.detach_primary/test.sh | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)

Browse pgpool-committers by date

  From Date Subject
Next Message Tatsuo Ishii 2026-09-20 04:59:41 pgpool: Test: enhance 018.detach_primary regression test.
Previous Message Tatsuo Ishii 2026-09-19 04:50:39 pgpool: Test: stablize 006.memqcache regression test.