patroni/debian/patches/acceptance_tests_system_patroni.patch
Michael Banck 85a4ca636b * debian/patches/acceptance_tests_system_patroni.patch: Refreshed.
* debian/patches/acceptance_tests_postgres_port.patch: Likewise.
2019-02-07 18:04:55 +01:00

14 lines
729 B
Diff

Index: patroni/features/environment.py
===================================================================
--- patroni.orig/features/environment.py
+++ patroni/features/environment.py
@@ -147,7 +147,7 @@ class PatroniController(AbstractControll
if not COVERAGE_BIN:
COVERAGE_BIN = distutils.spawn.find_executable('python3-coverage')
- return subprocess.Popen([COVERAGE_BIN, 'run', '--source=patroni', '-p', 'patroni.py', self._config],
+ return subprocess.Popen([COVERAGE_BIN, 'run', '-p', '/usr/bin/patroni', self._config],
stdout=self._log, stderr=subprocess.STDOUT, cwd=self._work_directory)
def stop(self, kill=False, timeout=15, postgres=False):