[pgpool-committers: 6436] pgpool: Fix occasional regression test failure of 008.dbredirect.

Tatsuo Ishii ishii at sraoss.co.jp
Tue Dec 24 21:47:04 JST 2019


Fix occasional regression test failure of 008.dbredirect.

In the test several databases are created and subsequent tests expect
that those databases have been already replicated. But it is possible
that the replication has not been done at that point and makes the
test fails. Fix is, add check the existence of database and if it's
not replicated, sleep for a while and retry it (up to 5 times).

Branch
------
V4_1_STABLE

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

Modified Files
--------------
src/test/regression/tests/008.dbredirect/test.sh | 28 ++++++++++++++++++++++++
1 file changed, 28 insertions(+)



More information about the pgpool-committers mailing list