Revert "Enable the Ray dashboard by default (#5976)" (#6068)

This reverts commit 6166ef3e09.
This commit is contained in:
Eric Liang
2019-11-01 17:08:37 -07:00
committed by GitHub
parent e94bebb1de
commit 1a3e97cf23
7 changed files with 31 additions and 28 deletions
+2 -3
View File
@@ -19,13 +19,12 @@ def test_get_webui(shutdown_only):
webui_url = addresses["webui_url"]
assert ray.get_webui_url() == webui_url
assert re.match(r"^(localhost|\d+\.\d+\.\d+\.\d+):8080$", webui_url)
assert re.match(r"^http://\d+\.\d+\.\d+\.\d+:8080$", webui_url)
start_time = time.time()
while True:
try:
node_info = requests.get("http://" + webui_url +
"/api/node_info").json()
node_info = requests.get(webui_url + "/api/node_info").json()
break
except requests.exceptions.ConnectionError:
if time.time() > start_time + 30: