Make release stress tests work and improve them. (#4955)

This commit is contained in:
Robert Nishihara
2019-06-10 23:04:01 -07:00
committed by Philipp Moritz
parent e6baffba56
commit 6f48992322
7 changed files with 169 additions and 126 deletions
+4 -3
View File
@@ -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