* debian/patches/testsuite_relax_timeouts.patch: New patch, relaxes some of
the acceptance tests timeouts.
This commit is contained in:
parent
8cd3ca89d6
commit
255d739116
2
debian/changelog
vendored
2
debian/changelog
vendored
|
@ -16,6 +16,8 @@ patroni (1.4.1-1) UNRELEASED; urgency=medium
|
|||
* debian/control (Build-Depends): Added python3-kubernetes.
|
||||
* debian/patches/relax_requirements.patch: New patch, relaxes the
|
||||
python3-kubernetes requirements.
|
||||
* debian/patches/testsuite_relax_timeouts.patch: New patch, relaxes some of
|
||||
the acceptance tests timeouts.
|
||||
|
||||
-- Christoph Berg <myon@debian.org> Mon, 25 Dec 2017 18:03:36 +0100
|
||||
|
||||
|
|
1
debian/patches/series
vendored
1
debian/patches/series
vendored
|
@ -2,3 +2,4 @@ sphinx_no_mathjax.patch
|
|||
startup_scripts.patch
|
||||
coverage_binary.patch
|
||||
relax_requirements.patch
|
||||
testsuite_relax_timeouts.patch
|
||||
|
|
20
debian/patches/testsuite_relax_timeouts.patch
vendored
Normal file
20
debian/patches/testsuite_relax_timeouts.patch
vendored
Normal file
|
@ -0,0 +1,20 @@
|
|||
--- ./features/basic_replication.feature.orig 2018-01-24 11:54:01.698339617 +0100
|
||||
+++ ./features/basic_replication.feature 2018-01-24 11:54:36.023044946 +0100
|
||||
@@ -18,7 +18,7 @@
|
||||
And "sync" key in DCS has sync_standby=postgres1 after 2 seconds
|
||||
And I run patronictl.py restart batman postgres1 --force
|
||||
Then I receive a response returncode 0
|
||||
- And "sync" key in DCS has sync_standby=postgres2 after 10 seconds
|
||||
+ And "sync" key in DCS has sync_standby=postgres2 after 20 seconds
|
||||
And I sleep for 2 seconds
|
||||
When I issue a GET request to http://127.0.0.1:8010/sync
|
||||
Then I receive a response code 200
|
||||
@@ -32,7 +32,7 @@
|
||||
And I shut down postgres0
|
||||
And I run patronictl.py resume batman
|
||||
Then I receive a response returncode 0
|
||||
- And postgres2 role is the primary after 24 seconds
|
||||
+ And postgres2 role is the primary after 48 seconds
|
||||
When I issue a PATCH request to http://127.0.0.1:8010/config with {"synchronous_mode": null, "master_start_timeout": 0}
|
||||
Then I receive a response code 200
|
||||
When I add the table bar to postgres2
|
Loading…
Reference in a new issue