Fix 034.promote_node test failure.
authorTatsuo Ishii <ishii@sraoss.co.jp>
Fri, 18 Jun 2021 23:23:12 +0000 (08:23 +0900)
committerTatsuo Ishii <ishii@sraoss.co.jp>
Fri, 18 Jun 2021 23:23:12 +0000 (08:23 +0900)
commit9cbc33ba993c68af57d8e1d519eb4b8cd95d7b47
tree8a56a3e76ec0f0c8da466fe32dfaf4a31b86b33d
parent01f7ceed87e17bff2b06a0b42c85e6d3d691cbcc
Fix 034.promote_node test failure.

It appeared that under buildfarm environment, pcp_socketdir is set to
/var/run/postgresql, but pcp client's socket directory are not changed
from /tmp (it is defined at the compile time). Probably we should
workaround this someday, but I just gives "-h localhost" parameter to
pcp_promote_node to avoid this problem.
src/test/regression/tests/034.promote_node/test.sh