Skip to content
This repository has been archived by the owner on Feb 21, 2023. It is now read-only.

Commit

Permalink
Browse files Browse the repository at this point in the history
Updating base testing docker to redis 6.2.5 (redis/redis-py#1536)

Signed-off-by: Andrew-Chen-Wang <[email protected]>
  • Loading branch information
Andrew-Chen-Wang committed Oct 5, 2021
1 parent 2773c34 commit 293d90f
Showing 1 changed file with 1 addition and 10 deletions.
11 changes: 1 addition & 10 deletions tests/test_commands.py
Original file line number Diff line number Diff line change
Expand Up @@ -488,16 +488,7 @@ def test_client_kill_filter_by_laddr(self, r: aioredis.Redis, r2: aioredis.Redis
clients_by_name = {client.get("name"): client for client in clients}

client_2_addr = clients_by_name["redis-py-c2"].get("laddr")
resp = await r.client_kill_filter(laddr=client_2_addr)
assert resp == 1

clients = [
client
for client in await r.client_list()
if client.get("name") in ["redis-py-c1", "redis-py-c2"]
]
assert len(clients) == 1
assert clients[0].get("name") == "redis-py-c1"
assert await r.client_kill_filter(laddr=client_2_addr)

@skip_if_server_version_lt("2.9.50")
async def test_client_pause(self, r: aioredis.Redis):
Expand Down

0 comments on commit 293d90f

Please sign in to comment.