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

Tatsuo Ishii ishii at sraoss.co.jp
Tue Dec 31 12:25:16 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
------
master

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

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