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
------
master
Details
-------
https://git.postgresql.org/gitweb?p=pgpool2.git;a=commitdiff;h=5c50ba31a49139b552b28ff2f9fd2f6e434f9621
Modified Files
--------------
src/test/regression/tests/018.detach_primary/test.sh | 16 ++++++++++++++--
1 file changed, 14 insertions(+), 2 deletions(-)