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

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

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

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