patroni/debian/patches/testsuite_relax_timeouts.patch
2018-01-24 11:55:40 +01:00

21 lines
1.1 KiB
Diff

--- ./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