Skip to content

Commit

Permalink
[ci] Deflake linux://python/ray/tests:test_memory_pressure (ray-proje…
Browse files Browse the repository at this point in the history
…ct#41273)

Co-authored-by: SangBin Cho <[email protected]>
  • Loading branch information
rkooo567 and SangBin Cho authored Nov 21, 2023
1 parent e9d5ac9 commit cfc38a1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion python/ray/tests/test_memory_pressure.py
Original file line number Diff line number Diff line change
Expand Up @@ -147,7 +147,7 @@ def test_non_restartable_actor_throws_oom_error(ray_with_memory_monitor):
leaker = Leaker.options(max_restarts=0, max_task_retries=0).remote()

bytes_to_alloc = get_additional_bytes_to_reach_memory_usage_pct(
memory_usage_threshold - 0.1
memory_usage_threshold - 0.3
)
ray.get(leaker.allocate.remote(bytes_to_alloc, memory_monitor_refresh_ms * 3))

Expand Down

0 comments on commit cfc38a1

Please sign in to comment.