debian/tests: Set TZ=UTC.

This commit is contained in:
Christoph Berg 2018-02-15 19:01:46 +01:00
parent 3fb54f30fe
commit 82cc3954e4
3 changed files with 3 additions and 0 deletions

1
debian/changelog vendored
View file

@ -3,6 +3,7 @@ patroni (1.4.2-2) unstable; urgency=medium
* Team upload.
* debian/tests: Tidy /tmp/pgpass?.
* debian/tests: Use zookeeperd when etcd-server is not available.
* debian/tests: Set TZ=UTC.
* features/environment.py: Make "import consul" optional.
* Bump DH compat to 10 to get systemd integration; patch patroni.service to
start only if /etc/patroni/config.yml exists.

View file

@ -4,6 +4,7 @@ set -e
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
export TZ=UTC # suppress UnknownTimeZoneError('Etc/UTC',)
DCS=etcd
if [ $(id -u) -eq 0 ]

1
debian/tests/test vendored
View file

@ -4,6 +4,7 @@ set -e
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
export TZ=UTC # suppress UnknownTimeZoneError('Etc/UTC',)
# clean up afterwards
trap 'rm -f /tmp/pgpass?' 0 2 3 15