* debian/patches/testsuite_relax_timeouts.patch: New patch, relaxes some of

the acceptance tests timeouts.
This commit is contained in:
Michael Banck 2018-01-24 11:55:40 +01:00
parent 8cd3ca89d6
commit 255d739116
3 changed files with 23 additions and 0 deletions

2
debian/changelog vendored
View file

@ -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

View file

@ -2,3 +2,4 @@ sphinx_no_mathjax.patch
startup_scripts.patch
coverage_binary.patch
relax_requirements.patch
testsuite_relax_timeouts.patch

View 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