From bc75f740744e84b23e1709b7b8bd40ccae154445 Mon Sep 17 00:00:00 2001 From: NoneGG Date: Sat, 31 Mar 2018 13:43:11 +0800 Subject: [PATCH] release v1.1.2 --- docs/source/release_notes.rst | 8 ++++++++ tests/cluster/test_commands.py | 2 +- 2 files changed, 9 insertions(+), 1 deletion(-) diff --git a/docs/source/release_notes.rst b/docs/source/release_notes.rst index 71dc95a7..ad4a7aa5 100644 --- a/docs/source/release_notes.rst +++ b/docs/source/release_notes.rst @@ -67,3 +67,11 @@ Release Notes * sync optimization of client list made by swilly22 from redis-py * add support for distributed lock using redis cluster +1.1.2 +----- + * fix bug: redis command encoding bug + * optimization: sync change on acquring lock from redis-py + * fix bug: decrement connection count on connection disconnected + * fix bug: optimize code proceed single node slots + * fix bug: initiation error of aws cluster client caused by not appropiate function list used + * fix bug: use `ssl_context` instead of ssl_keyfile,ssl_certfile,ssl_cert_reqs,ssl_ca_certs in intialization of connection_pool diff --git a/tests/cluster/test_commands.py b/tests/cluster/test_commands.py index 4a6b4907..6457869f 100644 --- a/tests/cluster/test_commands.py +++ b/tests/cluster/test_commands.py @@ -1196,7 +1196,7 @@ async def test_zscore(self, r): async def test_zunionstore_fail_crossslot(self, r): await r.flushdb() await r.zadd('a', a1=1, a2=1, a3=1) - r.zadd('b', a1=2, a2=2, a3=2) + await r.zadd('b', a1=2, a2=2, a3=2) await r.zadd('c', a1=6, a3=5, a4=4) with pytest.raises(ResponseError) as excinfo: await r.zunionstore('d', ['a', 'b', 'c'])