Commit graph

49 commits

Author SHA1 Message Date
Christoph Berg 6870df7681 debian/tests/acceptance: Add ### PostgreSQL ### markers for Jenkins 2022-08-26 13:43:57 +02:00
Michael Banck 894b3d56ab * debian/control, debian/tests/control: Replaced python3-boto with
python3-boto3.
2022-06-02 15:46:19 +02:00
Michael Banck 646fff424b * debian/tests/acceptance: Skip standby_cluster/logical_slots_in_sync
scenario on v10, as it is not supported there.
2022-02-15 21:09:06 +01:00
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
Michael Banck 1a818f3a2d * debian/tests/control: Reorder acceptance tests. 2022-02-13 23:34:54 +01:00
Michael Banck eba244cde4 * debian/tests/test: No longer remove raft tests, no longer needed. 2022-02-13 17:06:21 +01:00
Michael Banck 2d77bd18bc * debian/tests/control: Add raft acceptance test and add python3-pysyncobj to
unit test depends.
2022-02-13 17:05:40 +01:00
Christoph Berg 8e4a470fe9 debian/tests/acceptance: set -o pipefail so failures aren't masked by ts. 2021-12-22 13:48:02 +01:00
Christoph Berg 8b99f7607a debian/tests/control: Mark zookeeper test as skip-not-installable. 2021-12-22 11:52:37 +01:00
Christoph Berg 73e419a03c debian/tests/control: Give Test-Commands meaningful names. 2021-09-29 17:12:14 +02:00
Michael Banck 61f3a3293e Revert commits 60f14e5, a6cbcc2, fd6d67fb 2021-03-02 18:04:50 +01:00
Michael Banck fd6d67fb8d * debian/tests/test: Remove previously added removal of raft-based test
files.
2021-03-01 18:24:44 +01:00
Michael Banck a6cbcc2477 * debian/tests/control: Added python3-pysyncobj to regression tests depends. 2021-03-01 18:23:57 +01:00
Michael Banck 5700e7ed2e * debian/tests/acceptance: Pipe test outputs to ts in oder to
display timestamps.
2020-12-10 13:32:02 +01:00
Michael Banck fbaaf9a3d6 * debian/tests/control: Added moreutils to acceptance-test Depends. 2020-12-10 13:31:17 +01:00
Michael Banck 09a136ed63 * debian/tests/test: Remove Raft tests for now (not yet packaged pysyncobj
module).
2020-10-03 09:20:12 +02:00
Michael Banck 15d15b60a2 * debian/tests/acceptance: Start zookeeper manually. 2020-05-08 18:58:07 +02:00
Michael Banck 1bb99b2170 * debian/tests/acceptance: Set ETCD_UNSUPPORTED_ARCH to arm/arm64 according
to $DEB_HOST_ARCH (Closes: #952535).
2020-03-28 10:12:17 +01:00
Michael Banck 61e86f0980 Revert changes since debian/1.6.4-1 2020-03-18 20:17:25 +01:00
Michael Banck 8716cf7fe8 * debian/tests/control: Add versioned dependency on python3-urllib3 as
regression test requirement.
2020-02-17 16:58:08 +01:00
Michael Banck 30cfd5313f * debian/tests/control: Add python3-websocket as regression test requirement. 2020-02-17 16:19:33 +01:00
Michael Banck 77c9f93829 * debian/tests/control: Temporarily revert commit c22bd426. 2020-02-17 15:32:50 +01:00
Michael Banck c22bd42699 * debian/tests/control: Strip down depends to test-related packages. 2020-01-23 15:54:08 +01:00
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