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:55
Message-ID: E1x89ed-00000001h8Q-32U1@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_7_STABLE

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

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 05:00:00 pgpool: Test: enhance 018.detach_primary regression test.
Previous Message Tatsuo Ishii 2026-09-20 04:59:50 pgpool: Test: enhance 018.detach_primary regression test.