[pgpool-committers: 6442] pgpool: Fix occasional regression test 003.failover failure.

Tatsuo Ishii ishii at sraoss.co.jp
Tue Dec 31 12:24:55 JST 2019


Fix occasional regression test 003.failover failure.

The test compares the result of show pool_nodes against pre-computed
expected text file. After primary node goes down and old standby
promotes to primary, it is possible that streaming replication worker
process stores the replication state (async, streaming) in shared
memory before the failover but fails to update the state after the
failover. Fix is, replace "async", "streaming" with space characters
in the result file to match the expected file.

Branch
------
V3_5_STABLE

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

Modified Files
--------------
src/test/regression/tests/003.failover/test.sh | 3 ++-
1 file changed, 2 insertions(+), 1 deletion(-)



More information about the pgpool-committers mailing list