diff --git a/debian/changelog b/debian/changelog index 63aca03..a23f53e 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ patroni (2.1.2-3) UNRELEASED; urgency=medium [ Michael Banck ] * debian/control (Build-Depends, patroni/Depends): Added python3-pysyncobj. + * debian/patches/acceptance_tests_system_patroni.patch: Also fix + patroni_raft_controller startup. -- Debian PostgreSQL Maintainers Sun, 13 Feb 2022 15:54:41 +0100 diff --git a/debian/patches/acceptance_tests_system_patroni.patch b/debian/patches/acceptance_tests_system_patroni.patch index 78337b8..0f3282c 100644 --- a/debian/patches/acceptance_tests_system_patroni.patch +++ b/debian/patches/acceptance_tests_system_patroni.patch @@ -12,3 +12,12 @@ Index: patroni/features/environment.py stdout=self._log, stderr=subprocess.STDOUT, cwd=self._work_directory) def stop(self, kill=False, timeout=15, postgres=False): +@@ -606,7 +606,7 @@ + env['PATRONI_RAFT_SELF_ADDR'] = self.CONTROLLER_ADDR + env['PATRONI_RAFT_DATA_DIR'] = self._work_directory + return subprocess.Popen([sys.executable, '-m', 'coverage', 'run', +- '--source=patroni', '-p', 'patroni_raft_controller.py'], ++ '-p', '/usr/bin/patroni_raft_controller'], + stdout=self._log, stderr=subprocess.STDOUT, env=env) + + def query(self, key, scope='batman'):