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

[Dashboard] Add dashboard multi-node churn test #11768

Merged
merged 10 commits into from
Dec 14, 2020
Prev Previous commit
Next Next commit
Address flaky tests
  • Loading branch information
mfitton committed Nov 30, 2020
commit 7390184eebc5e1da1b240b012204199c85cc2542
Original file line number Diff line number Diff line change
Expand Up @@ -251,6 +251,7 @@ def get_nodes():
duration = timedelta(seconds=30)
while datetime.now() < t_st + duration:
get_index()
time.sleep(2)


if __name__ == "__main__":
Expand Down
2 changes: 1 addition & 1 deletion dashboard/tests/test_dashboard.py
Original file line number Diff line number Diff line change
Expand Up @@ -85,7 +85,7 @@ def test_basic(ray_start_with_dashboard):
0]
dashboard_proc = psutil.Process(dashboard_proc_info.process.pid)
assert dashboard_proc.status() in [
psutil.STATUS_RUNNING, psutil.STATUS_SLEEPING
psutil.STATUS_RUNNING, psutil.STATUS_SLEEPING, psutil.STATUS_DISK_SLEEP
]
raylet_proc_info = all_processes[ray_constants.PROCESS_TYPE_RAYLET][0]
raylet_proc = psutil.Process(raylet_proc_info.process.pid)
Expand Down