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

Tatsuo Ishii ishii at sraoss.co.jp
Tue Dec 24 21:47:00 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_0_STABLE

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

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



More information about the pgpool-committers mailing list