patroni/debian/tests/test

17 lines
307 B
Plaintext
Raw Normal View History

2017-09-15 10:15:48 +02:00
#!/bin/sh
set -e
export LC_ALL=C.UTF-8
export LANG=C.UTF-8
2018-02-15 19:01:46 +01:00
export TZ=UTC # suppress UnknownTimeZoneError('Etc/UTC',)
2018-02-06 11:41:42 +01:00
# clean up afterwards
trap 'rm -f /tmp/pgpass?' 0 2 3 15
# remove raft tests for now
rm -f tests/test_raft*py
rm -f patroni/dcs/raft.py patroni/raft_controller.py
2017-09-15 10:15:48 +02:00
python3 setup.py test