diff --git a/python/ray/autoscaler/_private/updater.py b/python/ray/autoscaler/_private/updater.py index 3b6b20431..1c9ba09e8 100644 --- a/python/ray/autoscaler/_private/updater.py +++ b/python/ray/autoscaler/_private/updater.py @@ -246,7 +246,8 @@ class NodeUpdater: self.log_prefix) # Run outside of the container - self.cmd_runner.run("uptime", run_env="host") + self.cmd_runner.run( + "uptime", timeout=5, run_env="host") cli_logger.old_debug(logger, "Uptime succeeded.") cli_logger.success("Success.") return True