* debian/patches/acceptance_tests_reenable_etcdv2.patch: New patch,

re-enables V2 API on etcd-3.4 and later.
This commit is contained in:
Michael Banck 2023-01-02 13:10:35 +01:00
parent 6e267093c7
commit 0153ff40e6
3 changed files with 14 additions and 0 deletions

2
debian/changelog vendored
View file

@ -5,6 +5,8 @@ patroni (2.1.6-1) UNRELEASED; urgency=medium
[ Michael Banck ]
* debian/patches/acceptance_tests_system_patroni.patch: Refreshed.
* debian/patches/acceptance_tests_reenable_etcdv2.patch: New patch,
re-enables V2 API on etcd-3.4 and later.
-- Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org> Mon, 02 Jan 2023 09:21:16 +0100

View file

@ -0,0 +1,11 @@
--- ./features/environment.py.orig 2023-01-02 12:29:07.053058799 +0100
+++ ./features/environment.py 2023-01-02 12:30:04.865314768 +0100
@@ -441,7 +441,7 @@
self._client_cls = client_cls
def _start(self):
- return subprocess.Popen(["etcd", "--data-dir", self._work_directory],
+ return subprocess.Popen(["etcd", "--enable-v2", "--data-dir", self._work_directory],
stdout=self._log, stderr=subprocess.STDOUT)
def _is_running(self):

View file

@ -4,3 +4,4 @@ requirements_setuptools.patch
offline_intersphinx.patch
requirements_cdiff.patch
avoid_overwriting_configuration_during_boostrap.patch
acceptance_tests_reenable_etcdv2.patch