Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Multiple endpoints #55

Open
wants to merge 32 commits into
base: master
Choose a base branch
from
Open
Changes from 1 commit
Commits
Show all changes
32 commits
Select commit Hold shift + click to select a range
dc2407e
Add support for multiple endpoints
dariko Feb 25, 2019
4b1de04
python 3.7 compatibility
dariko Feb 25, 2019
e3defa3
Rework tests to run against an etcd cluster
dariko Feb 25, 2019
c744c1a
use etcd version from envs.py
dariko Feb 25, 2019
7a61e92
Only include async fixtures when running on python3
dariko Feb 25, 2019
7b33a71
clarify retry loop
dariko Feb 25, 2019
41492ff
iterate over a copy of the endpoint, preventing concurrent ops to cha…
dariko Feb 25, 2019
cad609a
allow EtcdCluster.etcdctl to failover to a working node
dariko Feb 25, 2019
4406119
more stable cluster, containers status detection
dariko Feb 25, 2019
ea4814f
more stable cluster and containers status detection
dariko Feb 25, 2019
a6c50b7
add delay before asserting callback was called
dariko Feb 25, 2019
cebbedb
allow test_snapshot to be self-consistent
dariko Feb 25, 2019
f4e46dd
write snapshot data in docker-shared directory
dariko Feb 25, 2019
2e38ccb
test watch util during etcd cluster rolling restart
dariko Feb 25, 2019
1951e1c
python 2 compat
dariko Feb 25, 2019
a66edf9
remove useless decorator
dariko Feb 25, 2019
6998a42
use first endpoint data as default
dariko Feb 25, 2019
78d0a65
create shared directory for containers with permissive mode
dariko Feb 25, 2019
16be75c
allow aioclient to work without valid certificates
dariko Feb 27, 2019
aead4ea
disable certificate validation on tests
dariko Feb 27, 2019
95c7d24
disable certificate validation on tests
dariko Feb 27, 2019
ba4ea4f
Construct cluster endpoints based on container addresses
dariko Feb 27, 2019
339f4aa
move retry_all_hosts to utils.py, initial whitelist support
dariko Feb 28, 2019
ae94b43
remove validation preventing minimal call format
dariko Feb 28, 2019
7a07e22
replace deprecated log.warn with log.warning
dariko Mar 2, 2019
ec49b1a
rework failover logic
dariko Mar 2, 2019
681d39c
add `status` to failover_waitlist
dariko Mar 2, 2019
0151244
cleanup watch util failover test
dariko Mar 2, 2019
d47f9ed
tests
dariko Mar 2, 2019
709f74e
python 2 compatibility
dariko Mar 2, 2019
3aa610e
prevent mutable in parameter default
dariko Mar 2, 2019
8206a66
remove unused imports
dariko Mar 2, 2019
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion tests/test_py3/test_aio_client.py
Original file line number Diff line number Diff line change
Expand Up @@ -62,5 +62,5 @@ async def test_aio_client_ssl(etcd_cluster_ssl):
async def test_aio_client_host_port(etcd_cluster_ssl):
endpoint = etcd_cluster_ssl.get_endpoints()[0]
aio_client = AioClient(host=endpoint.host, port=endpoint.port,
cert=(CERT_PATH, KEY_PATH), verify=CA_PATH)
cert=(CERT_PATH, KEY_PATH), verify=False)
Copy link
Owner

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

why?

assert await aio_client.call_rpc('/kv/range', {'key': 'test_key'})