mirror of
https://github.com/wassname/ray.git
synced 2026-06-29 03:54:16 +08:00
Make release stress tests work and improve them. (#4955)
This commit is contained in:
committed by
Philipp Moritz
parent
e6baffba56
commit
6f48992322
@@ -165,9 +165,10 @@ class NodeUpdater(object):
|
||||
logger.debug("NodeUpdater: "
|
||||
"{}: Waiting for SSH...".format(self.node_id))
|
||||
|
||||
with open("/dev/null", "w") as redirect:
|
||||
self.ssh_cmd(
|
||||
"uptime", connect_timeout=5, redirect=redirect)
|
||||
# Setting redirect=False allows the user to see errors like
|
||||
# unix_listener: path "/tmp/rkn_ray_ssh_sockets/..." too long
|
||||
# for Unix domain socket.
|
||||
self.ssh_cmd("uptime", connect_timeout=5, redirect=False)
|
||||
|
||||
return True
|
||||
|
||||
|
||||
Reference in New Issue
Block a user