* debian/tests/acceptance: Wait 5 seconds after starting zookeeper.

This commit is contained in:
Michael Banck 2019-01-29 11:22:16 +01:00
parent c6dae1036f
commit c816a536ff
2 changed files with 3 additions and 0 deletions

1
debian/changelog vendored
View file

@ -11,6 +11,7 @@ patroni (1.5.4-4) UNRELEASED; urgency=medium
* debian/config.yml.in: Set pg_hba in bootstrap.dcs.postgresql section. This
way, it will be picked up by replicas as well. As the pg_hba.conf file is
created from scratch in this case, also add the default values.
* debian/tests/acceptance: Wait 5 seconds after starting zookeeper.
-- Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org> Sun, 27 Jan 2019 14:40:18 +0100

View file

@ -20,6 +20,8 @@ then
sed -i -e 's/#JAVA_OPTS=""/JAVA_OPTS="-Djava.net.preferIPv4Stack=true"/' /etc/default/zookeeper
/etc/init.d/zookeeper start
DCS=zookeeper
# let Java have some more time to startup
sleep 5
fi
else
SU='bash -c'