* debian/patches/acceptance_tests_system_patroni.patch: New patch, use the
system installed patroni for acceptance tests.
This commit is contained in:
parent
246e6d899f
commit
1d9c39925c
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -2,6 +2,8 @@ patroni (1.5.0-12) UNRELEASED; urgency=medium
|
|||
|
||||
[ Michael Banck ]
|
||||
* debian/patroni.install: Install binaries as well.
|
||||
* debian/patches/acceptance_tests_system_patroni.patch: New patch, use the
|
||||
system installed patroni for acceptance tests.
|
||||
|
||||
-- Debian PostgreSQL Maintainers <team+postgresql@tracker.debian.org> Fri, 26 Oct 2018 16:29:12 +0100
|
||||
|
||||
|
|
11
debian/patches/acceptance_tests_system_patroni.patch
vendored
Normal file
11
debian/patches/acceptance_tests_system_patroni.patch
vendored
Normal file
|
@ -0,0 +1,11 @@
|
|||
--- ./features/environment.py.orig 2018-11-02 18:39:02.583862514 +0100
|
||||
+++ ./features/environment.py 2018-11-02 18:41:12.127582214 +0100
|
||||
@@ -129,7 +129,7 @@
|
||||
if isinstance(self._context.dcs_ctl, KubernetesController):
|
||||
self._context.dcs_ctl.create_pod(self._name[8:], self._scope)
|
||||
os.environ['PATRONI_KUBERNETES_POD_IP'] = '10.0.0.' + self._name[-1]
|
||||
- return subprocess.Popen(['python3-coverage', 'run', '--source=patroni', '-p', 'patroni.py', self._config],
|
||||
+ return subprocess.Popen(['python3-coverage', '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):
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
|
@ -4,3 +4,4 @@ coverage_binary.patch
|
|||
consul_import.patch
|
||||
behave_failure_logging.patch
|
||||
check_postmaster.patch
|
||||
acceptance_tests_system_patroni.patch
|
||||
|
|
Loading…
Reference in a new issue