patroni/debian/tests/test
Michael Banck c7be5fde50 Revert commits 2e63c66 to 504752fc.
This reverts the changes made to support raft/pysyncobj, as there are still
failing autopkgtests. Instead, we want to fix the current release critical bug
and get the autopkgtests in shape before moving on to raft/pysyncobj.
2022-02-15 21:04:20 +01:00

17 lines
307 B
Bash
Executable file

#!/bin/sh
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
# remove raft tests for now
rm -f tests/test_raft*py
rm -f patroni/dcs/raft.py patroni/raft_controller.py
python3 setup.py test