Skip to content

Commit 20c237a

Browse files
tmp commit
Signed-off-by: Stepan Bagritsevich <[email protected]>
1 parent 7c95052 commit 20c237a

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

tests/dragonfly/memory_test.py

+2-2
Original file line numberDiff line numberDiff line change
@@ -267,13 +267,13 @@ async def test_cache_eviction_with_rss_deny_oom_simple_case(
267267
stats_info = await async_client.info("stats")
268268

269269
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
271271
), "We should not evict all items."
272272
assert memory_info["used_memory"] < max_memory * (
273273
rss_oom_deny_ratio - eviction_memory_budget_threshold
274274
), "Used memory should be smaller than threshold."
275275
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
277277
), "We should not evict all items."
278278

279279
evicted_keys = stats_info["evicted_keys"]

0 commit comments

Comments
 (0)