Compatibility with kazoo-2.6.0 (#872)

Recently 2.6.0 was release which changes the way how create_connection method is called. Before it was passing two arguments, and in the new version all argument names are specified explicitly.
This commit is contained in:
Alexander Kukushkin
2018-11-19 14:26:20 +01:00
committed by GitHub
parent a13cc8b847
commit fb01aaebc5
3 changed files with 5 additions and 1 deletions
+1
View File
@@ -4,6 +4,7 @@ Feature: standby cluster
Then postgres1 is a leader after 10 seconds
When I issue a PATCH request to http://127.0.0.1:8009/config with {"slots": {"test_logical": {"type": "logical", "database": "postgres", "plugin": "test_decoding"}}}
Then I receive a response code 200
And Response on GET http://127.0.0.1:8009/config contains slots after 10 seconds
When I issue a PATCH request to http://127.0.0.1:8009/config with {"slots": {"pm_1": {"type": "physical"}}, "postgresql": {"parameters": {"wal_level": "logical"}}}
Then I receive a response code 200
When I start postgres0 with callback configured