mirror of
https://github.com/vale981/ray
synced 2025-03-05 10:01:43 -05:00
[Release test] Add a memory monitor to nightly test long running actor death (#27083)
Add a memory monitor to nightly test long running actor death. It will be used to see memory leak from the test
This commit is contained in:
parent
a7dca17973
commit
a6fe2c1e87
1 changed files with 2 additions and 0 deletions
|
@ -8,6 +8,7 @@ import time
|
|||
|
||||
import ray
|
||||
from ray.cluster_utils import Cluster
|
||||
from ray._private.test_utils import monitor_memory_usage
|
||||
|
||||
|
||||
def update_progress(result):
|
||||
|
@ -48,6 +49,7 @@ for i in range(num_nodes):
|
|||
dashboard_host="0.0.0.0",
|
||||
)
|
||||
ray.init(address=cluster.address)
|
||||
monitor_actor = monitor_memory_usage()
|
||||
|
||||
# Run the workload.
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue