From 0f0e3a7ad921b74c2b6e3595f52dfff3046207cf Mon Sep 17 00:00:00 2001 From: Stepan Bagritsevich Date: Fri, 25 Apr 2025 13:42:55 +0200 Subject: [PATCH] tmp commit Signed-off-by: Stepan Bagritsevich --- tests/dragonfly/memory_test.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/tests/dragonfly/memory_test.py b/tests/dragonfly/memory_test.py index fa9cb8fec..b872b0114 100644 --- a/tests/dragonfly/memory_test.py +++ b/tests/dragonfly/memory_test.py @@ -267,13 +267,13 @@ async def test_cache_eviction_with_rss_deny_oom_simple_case( stats_info = await async_client.info("stats") assert memory_info["used_memory"] > max_memory * ( - rss_oom_deny_ratio - eviction_memory_budget_threshold - 0.08 + rss_oom_deny_ratio - eviction_memory_budget_threshold - 0.105 ), "We should not evict all items." assert memory_info["used_memory"] < max_memory * ( rss_oom_deny_ratio - eviction_memory_budget_threshold ), "Used memory should be smaller than threshold." assert memory_info["used_memory_rss"] > max_memory * ( - rss_oom_deny_ratio - eviction_memory_budget_threshold - 0.08 + rss_oom_deny_ratio - eviction_memory_budget_threshold - 0.105 ), "We should not evict all items." evicted_keys = stats_info["evicted_keys"]