mirror of
https://github.com/wassname/ray.git
synced 2026-07-02 01:37:40 +08:00
Add gcs_service_enabled function to avoid getting environment variable directly (#7742)
This commit is contained in:
@@ -145,7 +145,7 @@ def test_raylet_tempfiles(shutdown_only):
|
||||
"raylet.err"
|
||||
}
|
||||
|
||||
if os.environ.get(ray_constants.RAY_GCS_SERVICE_ENABLED, True):
|
||||
if ray_constants.GCS_SERVICE_ENABLED:
|
||||
log_files_expected.update({"gcs_server.out", "gcs_server.err"})
|
||||
else:
|
||||
log_files_expected.update({"raylet_monitor.out", "raylet_monitor.err"})
|
||||
|
||||
Reference in New Issue
Block a user