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

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

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

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