Revert "Try to enable dashboard (again) (#6069)" (#6159)

This reverts commit 4044af8520.
This commit is contained in:
Philipp Moritz
2019-11-13 12:32:12 -08:00
committed by Eric Liang
parent b924299833
commit f24d96ec4f
9 changed files with 35 additions and 39 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: