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

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

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

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