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

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

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

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



More information about the pgpool-committers mailing list