mirror of
https://github.com/wassname/ray.git
synced 2026-07-23 13:10:11 +08:00
[xlang] Cross language Python support (#6709)
This commit is contained in:
@@ -189,7 +189,13 @@ def test_raylet_info_endpoint(shutdown_only):
|
||||
try:
|
||||
webui_url = addresses["webui_url"]
|
||||
webui_url = webui_url.replace("localhost", "http://127.0.0.1")
|
||||
raylet_info = requests.get(webui_url + "/api/raylet_info").json()
|
||||
response = requests.get(webui_url + "/api/raylet_info")
|
||||
response.raise_for_status()
|
||||
try:
|
||||
raylet_info = response.json()
|
||||
except Exception as ex:
|
||||
print("failed response: {}".format(response.text))
|
||||
raise ex
|
||||
actor_info = raylet_info["result"]["actors"]
|
||||
try:
|
||||
assert len(actor_info) == 1
|
||||
|
||||
Reference in New Issue
Block a user