Alexander Kukushkin and GitHub
10c7fa41f3
Exclude unhealthy nodes when choosing where to clone from ( #313 )
...
Node MUST have tag clonefrom: true, be in the 'running' state and also
we should not try to clone from itself.
2016-09-21 09:42:48 +02:00
Oleksii Kliukin
c91eda8d78
Merge branch 'master' into feature/scheduled_restarts
2016-07-11 12:56:24 +02:00
Oleksii Kliukin
7a1e2e0c72
Fix the assert message.
2016-06-28 17:11:13 +02:00
Oleksii Kliukin
d2832ee43b
Address the code review.
...
Fix return value in the should_run_scheduled_action and the comments.
Correct the json composition in the scheduled_restart test.
Fix the delete in case there is no scheduled restart.
Fix the usage of format in the logger output.
Fix the indentation in the evaluate_scheduled_restart.
Fix the condition related to the body_is_optional in the do_POST_restart.
Fix a few typos in the error messages.
Fix the _read_json_content
Make the scheduled restart unit-tests a bit less ugly
2016-06-28 16:54:20 +02:00
Oleksii Kliukin
29845dd383
Restart the node according to the schedule.
...
The scheduled restart data structures are now independent of those
used by the normal restarts. This would be fixed in subsequent
commits.
Add the behave tests, that cover the POST /restart (but not DELETE).
2016-06-23 10:43:54 +02:00
Alexander Kukushkin
27bdc65e46
Fix acceptance tests with python3
2016-06-16 15:27:41 +02:00
Alexander Kukushkin
fcde17583c
Acceptance tests for patronictl
...
Call patronictl.py when it's possible instead of doing REST API calls.
2016-06-16 15:06:18 +02:00
Alexander Kukushkin
f7912991a8
Reshuffle acceptance tests one more time
2016-05-30 12:37:14 +02:00
Alexander Kukushkin
e085c866dc
Reshuffle acceptance tests
...
Move dynamic config tests from basic_replication to patroni_api
2016-05-30 11:30:41 +02:00
Alexander Kukushkin
073ef3784f
Implement PATCH /config
2016-05-27 16:29:33 +02:00
Alexander Kukushkin
6700cd0aa6
Implement reload of config.yml with REST API call
...
and acceptance tests for that
2016-05-26 17:09:40 +02:00
Alexander Kukushkin
45cbc8ca70
Implement acceptance test for dynamic configuration functionality
...
and fix some bugs revealed by acceptance tests
2016-05-26 10:16:24 +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
5f6beae22f
Enforce data-type checks for step matcher
...
and increase default timeout for patroni start
2016-03-11 14:46:14 +01:00
Alexander Kukushkin
8b81d270bc
BUGFIX: Assertion Failed: Steps must be unicode
2016-03-11 13:47:57 +01:00
Alexander Kukushkin
30d3982d25
Acceptance tests with behave
2016-03-11 12:56:29 +01:00