* debian/tests/acceptance: Wait 5 seconds after starting zookeeper.
This commit is contained in:
parent
c6dae1036f
commit
c816a536ff
1
debian/changelog
vendored
1
debian/changelog
vendored
|
@ -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
|
* 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
|
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.
|
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
|
-- Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org> Sun, 27 Jan 2019 14:40:18 +0100
|
||||||
|
|
||||||
|
|
2
debian/tests/acceptance
vendored
2
debian/tests/acceptance
vendored
|
@ -20,6 +20,8 @@ then
|
||||||
sed -i -e 's/#JAVA_OPTS=""/JAVA_OPTS="-Djava.net.preferIPv4Stack=true"/' /etc/default/zookeeper
|
sed -i -e 's/#JAVA_OPTS=""/JAVA_OPTS="-Djava.net.preferIPv4Stack=true"/' /etc/default/zookeeper
|
||||||
/etc/init.d/zookeeper start
|
/etc/init.d/zookeeper start
|
||||||
DCS=zookeeper
|
DCS=zookeeper
|
||||||
|
# let Java have some more time to startup
|
||||||
|
sleep 5
|
||||||
fi
|
fi
|
||||||
else
|
else
|
||||||
SU='bash -c'
|
SU='bash -c'
|
||||||
|
|
Loading…
Reference in a new issue