Commit graph

26 commits

Author SHA1 Message Date
Michael Banck 7617e29052 * debian/control (Depends): Added python3-psycopg2.
* debian/tests/control: Added python3-psycopg2.
2019-08-05 21:08:41 +02:00
Michael Banck 06a63bcc70 * debian/tests/acceptance: Set shell to bash. 2019-02-04 15:17:35 +01:00
Michael Banck 88f6008c75 * debian/tests/acceptance: Fix DCS check for zookeeper in case etcd-server is
installed as well.
2019-02-04 14:48:05 +01:00
Michael Banck d1d4bf1b0c * debian/tests/control: Use `Test-Command' directive with relative path
instead of `Tests' and pass it the DCS as argument.
  * debian/tests/acceptance: Set DCS variable as provided by the command-line
    argument.
2019-01-30 12:57:32 +01:00
Michael Banck c816a536ff * debian/tests/acceptance: Wait 5 seconds after starting zookeeper. 2019-01-29 11:22:16 +01:00
Michael Banck d0b38d952e * debian/tests/control: Add additional acceptance tests runs with zookeeper
and consul as DCS.
2019-01-27 14:20:12 +01:00
Michael Banck 65557e4cc6 * debian/tests/acceptance: Add support for consul as DCS. 2019-01-27 14:19:16 +01:00
Michael Banck a475f58697 * debian/tests/acceptance: Set JAVA_OPTS to "-Djava.net.preferIPv4Stack=true"
in /etc/default/zookeepr if DCS is zookeeper.
2019-01-26 21:19:25 +01:00
Michael Banck 94f9410868 * debian/tests/acceptance: Add ETCD_UNSUPPORTED_ARCH=386 to invocation for
i386.
2018-10-05 12:06:10 +02:00
Michael Banck df088977ed * debian/patches/behave_failure_logging.patch: New patch, copy over output
directory of a failed feature with `_failed' at the end.
  * debian/tests/acceptance: Dump logs for failed features.
2018-09-25 15:44:49 +02:00
Michael Banck af75147b58 * debian/tests/acceptance: Run all tests again. 2018-09-22 13:56:54 +02:00
Christoph Berg 9741f0a4fe Run first basic replication test only. 2018-06-04 23:06:49 +02:00
Christoph Berg effb163942 Add python3-coverage to acceptance test depends. Reported by Matthias Klose, thanks! Closes: #894235. 2018-04-06 12:11:19 +02:00
Christoph Berg 82cc3954e4 debian/tests: Set TZ=UTC. 2018-02-15 19:01:46 +01:00
Christoph Berg 35e242c759 debian/tests: Use zookeeperd when etcd-server is not available. 2018-02-06 14:56:37 +01:00
Christoph Berg 72fbeb4194 debian/tests/test: Tidy /tmp/pgpass?. 2018-02-06 12:37:22 +01:00
Michael Banck e0967b5a0f * debian/tests/acceptance: Simply set $PATH before running behave, drop the
$PATRONI_POSTGRESQL_BIN_DIR handling.
  * debian/patches/testsuite_honor_patroni_postgresql_bin_dir.patch: Removed,
    no longer needed.
2017-09-29 17:50:33 +02:00
Michael Banck eba7f46987 * debian/tests/acceptance: Run tests for each available Postgres version. 2017-09-29 16:27:16 +02:00
Michael Banck 3049bb02d6 Cleanup debug output from debian/tests/acceptance 2017-09-29 15:13:21 +02:00
Michael Banck 3e3cf26a97 * debian/tests/acceptance: Use $PATRONI_POSTGRESQL_BIN_DIR instead of $PATH. 2017-09-29 15:10:02 +02:00
Michael Banck b4ce563666 * debian/tests/acceptance: Dump patroni logfiles in case of failure. 2017-09-23 10:32:14 +02:00
Michael Banck fba7408141 Support multiple supported versions in accpetance autopkgtest 2017-09-23 09:19:01 +02:00
Michael Banck b2e4df0651 * debian/tests/acceptance: Update to set locale and to run the tests as user
postgres if autopkgtest is invoked as root.
  * debian/tests/control: Run acceptance test first.
  * debian/rules (override_dh_auto_test): Do not run testsuite during build.
2017-09-23 09:04:11 +02:00
Michael Banck f97d40aff7 Depend on default postgresql package 2017-09-22 22:35:03 +02:00
Michael Banck 843df45d25 * debian/tests: Add acceptance test and use correct environment variables for
test test.
2017-09-15 15:24:59 +02:00
Michael Banck 59ffe35c65 * debian/tests: Add autopkgtests. 2017-09-15 10:15:48 +02:00