From 039c6510ca15048d8e70dec453972587ea834027 Mon Sep 17 00:00:00 2001 From: "Chayim I. Kirshen" Date: Thu, 5 Aug 2021 09:36:59 +0300 Subject: [PATCH 1/2] updated to redis 6.2.5 --- docker/base/Dockerfile | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/docker/base/Dockerfile b/docker/base/Dockerfile index 003eac1f89..b6df3263c5 100644 --- a/docker/base/Dockerfile +++ b/docker/base/Dockerfile @@ -1 +1 @@ -FROM redis:6.0.9-buster +FROM redis:6.2.5-buster From 91ba892cf90cd4b2ad4289b609a47b1f5f5df465 Mon Sep 17 00:00:00 2001 From: "Chayim I. Kirshen" Date: Thu, 5 Aug 2021 10:33:29 +0300 Subject: [PATCH 2/2] fixing flaky client kill as per the docs --- tests/test_commands.py | 8 +------- 1 file changed, 1 insertion(+), 7 deletions(-) diff --git a/tests/test_commands.py b/tests/test_commands.py index 40c813d7a1..b5e42a957b 100644 --- a/tests/test_commands.py +++ b/tests/test_commands.py @@ -407,13 +407,7 @@ def test_client_kill_filter_by_laddr(self, r, r2): for client in clients]) client_2_addr = clients_by_name['redis-py-c2'].get('laddr') - resp = r.client_kill_filter(laddr=client_2_addr) - assert resp == 1 - - clients = [client for client in 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 r.client_kill_filter(laddr=client_2_addr) @skip_if_server_version_lt('2.9.50') def test_client_pause(self, r):