patroni/debian/patches/acceptance_tests_reenable_etcdv2.patch
Michael Banck 0153ff40e6 * debian/patches/acceptance_tests_reenable_etcdv2.patch: New patch,
re-enables V2 API on etcd-3.4 and later.
2023-01-02 13:10:35 +01:00

12 lines
501 B
Diff

--- ./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):