mirror of
https://github.com/vale981/ray
synced 2025-03-06 02:21:39 -05:00
debug call_ray_start failure (#24252)
Exploring #24251. The call to the `call_ray_start` fixture seems to be timing out in `test_ray_init`.
This commit is contained in:
parent
07986349c6
commit
ffb67203e9
1 changed files with 7 additions and 3 deletions
|
@ -276,9 +276,13 @@ def call_ray_start(request):
|
|||
"--max-worker-port=0 --port 0",
|
||||
)
|
||||
command_args = parameter.split(" ")
|
||||
out = ray._private.utils.decode(
|
||||
subprocess.check_output(command_args, stderr=subprocess.STDOUT)
|
||||
)
|
||||
try:
|
||||
out = ray._private.utils.decode(
|
||||
subprocess.check_output(command_args, stderr=subprocess.STDOUT)
|
||||
)
|
||||
except Exception as e:
|
||||
print(type(e), e)
|
||||
raise
|
||||
# Get the redis address from the output.
|
||||
redis_substring_prefix = "--address='"
|
||||
address_location = out.find(redis_substring_prefix) + len(redis_substring_prefix)
|
||||
|
|
Loading…
Add table
Reference in a new issue