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:45
Message-ID: E1x89eU-00000001h2r-0BHI@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_5_STABLE

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

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