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:50
Message-ID: E1x89eY-00000001h57-35I0@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_6_STABLE

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

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