* debian/patches/acceptance_tests_system_patroni.patch: Also fix
patroni_raft_controller startup.
This commit is contained in:
parent
2e63c66698
commit
58f28f4e5a
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -2,6 +2,8 @@ patroni (2.1.2-3) UNRELEASED; urgency=medium
|
||||||
|
|
||||||
[ Michael Banck ]
|
[ Michael Banck ]
|
||||||
* debian/control (Build-Depends, patroni/Depends): Added python3-pysyncobj.
|
* 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 <team+postgresql@tracker.debian.org> Sun, 13 Feb 2022 15:54:41 +0100
|
-- Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org> Sun, 13 Feb 2022 15:54:41 +0100
|
||||||
|
|
||||||
|
|
|
@ -12,3 +12,12 @@ Index: patroni/features/environment.py
|
||||||
stdout=self._log, stderr=subprocess.STDOUT, cwd=self._work_directory)
|
stdout=self._log, stderr=subprocess.STDOUT, cwd=self._work_directory)
|
||||||
|
|
||||||
def stop(self, kill=False, timeout=15, postgres=False):
|
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'):
|
||||||
|
|
Loading…
Reference in a new issue