File tree 1 file changed +2
-2
lines changed
1 file changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -267,13 +267,13 @@ async def test_cache_eviction_with_rss_deny_oom_simple_case(
267
267
stats_info = await async_client .info ("stats" )
268
268
269
269
assert memory_info ["used_memory" ] > max_memory * (
270
- rss_oom_deny_ratio - eviction_memory_budget_threshold - 0.08
270
+ rss_oom_deny_ratio - eviction_memory_budget_threshold - 0.105
271
271
), "We should not evict all items."
272
272
assert memory_info ["used_memory" ] < max_memory * (
273
273
rss_oom_deny_ratio - eviction_memory_budget_threshold
274
274
), "Used memory should be smaller than threshold."
275
275
assert memory_info ["used_memory_rss" ] > max_memory * (
276
- rss_oom_deny_ratio - eviction_memory_budget_threshold - 0.08
276
+ rss_oom_deny_ratio - eviction_memory_budget_threshold - 0.105
277
277
), "We should not evict all items."
278
278
279
279
evicted_keys = stats_info ["evicted_keys" ]
You can’t perform that action at this time.
0 commit comments