* debian/tests/acceptance: Skip standby_cluster/logical_slots_in_sync

scenario on v10, as it is not supported there.
This commit is contained in:
Michael Banck 2022-02-15 21:09:06 +01:00
parent 643f00b666
commit 646fff424b
2 changed files with 11 additions and 3 deletions

2
debian/changelog vendored
View file

@ -4,6 +4,8 @@ patroni (2.1.2-3) UNRELEASED; urgency=medium
* debian/patches/regression_tests_psutil_compat.patch: New patch, add
compatibility for newer psutil in the regression tests (Closes: #1003562).
* debian/changelog: Fix whitespace.
* debian/tests/acceptance: Skip standby_cluster/logical_slots_in_sync
scenario on v10, as it is not supported there.
-- Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org> Sun, 13 Feb 2022 15:54:41 +0100

View file

@ -47,8 +47,14 @@ case $DEB_HOST_ARCH in
esac
set -x
for PG_VERSION in /usr/lib/postgresql/*; do
$SU "set -o pipefail; ETCD_UNSUPPORTED_ARCH=$ETCD_ARCH DCS=$DCS PATH=/usr/lib/postgresql/$(basename \
${PG_VERSION})/bin:$PATH behave | ts" || \
for PG_VERSION in $(ls -1r /usr/lib/postgresql/); do
if [ "${PG_VERSION}" == "10" ]; then
SKIP=--tags=-skip
else
SKIP=
fi
$SU "set -o pipefail; ETCD_UNSUPPORTED_ARCH=$ETCD_ARCH DCS=$DCS \
PATH=/usr/lib/postgresql/${PG_VERSION}/bin:$PATH \
behave ${SKIP} | ts" || \
(for file in $(ls features/output/*_failed/*); do echo "$file:"; cat $file; done && exit 1)
done