* debian/tests/acceptance: Set JAVA_OPTS to "-Djava.net.preferIPv4Stack=true"
in /etc/default/zookeepr if DCS is zookeeper.
This commit is contained in:
parent
e306123dcb
commit
a475f58697
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -13,6 +13,8 @@ patroni (1.5.4-3) UNRELEASED; urgency=medium
|
|||
* debian/patches/acceptance_tests_postgres_port.patch: New patch, set base
|
||||
port for acceptance tests to 5420 in order not to conflict with possible
|
||||
system clusters.
|
||||
* debian/tests/acceptance: Set JAVA_OPTS to "-Djava.net.preferIPv4Stack=true"
|
||||
in /etc/default/zookeepr if DCS is zookeeper.
|
||||
|
||||
-- Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org> Mon, 21 Jan 2019 17:10:49 +0100
|
||||
|
||||
|
|
2
debian/tests/acceptance
vendored
2
debian/tests/acceptance
vendored
|
@ -16,6 +16,8 @@ then
|
|||
|
||||
# zookeeper must be started manually (as root)
|
||||
if ! [ -x /usr/bin/etcd ] && [ -x /etc/init.d/zookeeper ]; then
|
||||
# JAVA_OPTS need to be set, otherwise zookeeper is not reachable via IPV4
|
||||
sed -i -e 's/#JAVA_OPTS=""/JAVA_OPTS="-Djava.net.preferIPv4Stack=true"/' /etc/default/zookeeper
|
||||
/etc/init.d/zookeeper start
|
||||
DCS=zookeeper
|
||||
fi
|
||||
|
|
Loading…
Reference in a new issue