Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[core][state] List actors should show actors from dead jobs as well #31984

Closed
wants to merge 16 commits into from
Prev Previous commit
Next Next commit
fix
Signed-off-by: rickyyx <[email protected]>
  • Loading branch information
rickyyx committed Mar 23, 2023
commit 57a1793e59afd70eb7cdb9549f6b4559f37b6d80
4 changes: 3 additions & 1 deletion python/ray/tests/test_actor_state_metrics.py
Original file line number Diff line number Diff line change
Expand Up @@ -164,7 +164,9 @@ def ready(self):
"""
# Wait until the state API returns the # of actors are 0
# becasue entries are GC'ed by GCS.
wait_for_condition(lambda: len(list_actors()) == 0, timeout=60)
wait_for_condition(
lambda: len(list_actors(filters=[("STATE", "=", "ALIVE")])) == 0, timeout=60
)
# DEAD count shouldn't be changed.
wait_for_condition(
lambda: actors_by_state(info) == expected,
Expand Down