Alexander Kukushkin
7006a4ee14
Sometimes replica can't attach to the master after pg_rewind
...
The reason for that is: it takes up to 10 seconds to create replication
slot + up to 5 seconds to start straming and recover.
2016-04-13 14:28:00 +02:00
Alexander Kukushkin
d57310bbc0
Fix one more corner-case
...
It could take up to 10 seconds to create replication slot.
In addition to that when replica fails to connect to the master via
streaming replication it doesn't retry immediately, but with some
timeout (5 seconds). 10 + 5 == 15 what causes replication check
scenarios fail.
2016-04-13 14:09:45 +02:00
Alexander Kukushkin
01da5266a0
Give time for running healh-checks when promoting replica
2016-04-13 13:32:39 +02:00
Alexander Kukushkin
24a2ea6cef
Refactor acceptance tests to make them work against ZooKeeper
...
and make it easier to implement controllers for new DCS, i.e. consul
2016-04-10 10:37:43 +02:00
Alexander Kukushkin
62f11ab747
Attempt to export acceptance tests coverage results to coveralls
2016-03-13 09:09:31 +01:00
Alexander Kukushkin
42d798a3de
acceptance tests on travis
2016-03-10 17:19:10 +01:00
Oleksii Kliukin
c9b8c2d3a9
Bugfixes, add a function to kill patroni daemon, make the feature description more concise.
2016-02-24 19:22:42 +01:00
Oleksii Kliukin
6f03953268
Merge basic failover and basic replication scenarios in one feature.
2016-02-24 17:12:45 +01:00
Oleksii Kliukin
6ec3523748
Collect test output, add basic failover test.
2016-02-24 16:30:52 +01:00
Oleksii Kliukin
38bd037d99
Add the 1st lettuce test for the basic replication.
...
Basically check that the table inserted on the primary
will get its way to the secondary.
2016-02-05 13:30:42 +01:00