mirror of
https://github.com/vale981/ray
synced 2025-03-07 02:51:39 -05:00
[TEST] Fix Ray windows build for debugger (#12671)
* Fix Ray windows build for debugger * update
This commit is contained in:
parent
e40b14d255
commit
343b479ae2
2 changed files with 7 additions and 1 deletions
|
@ -1434,7 +1434,7 @@ cdef class CoreWorker:
|
|||
metadata = serialized_object.metadata
|
||||
if ray.worker.global_worker.debugger_get_breakpoint:
|
||||
breakpoint = (
|
||||
ray.worker.global_worker.debugger_get_breakpoint())
|
||||
ray.worker.global_worker.debugger_get_breakpoint)
|
||||
metadata += (
|
||||
b"," + ray_constants.OBJECT_METADATA_DEBUG_PREFIX +
|
||||
breakpoint.encode())
|
||||
|
|
|
@ -1,9 +1,11 @@
|
|||
import json
|
||||
import os
|
||||
import platform
|
||||
import sys
|
||||
from telnetlib import Telnet
|
||||
|
||||
import pexpect
|
||||
import pytest
|
||||
import ray
|
||||
|
||||
|
||||
|
@ -35,6 +37,8 @@ def test_ray_debugger_breakpoint(shutdown_only):
|
|||
ray.get(result)
|
||||
|
||||
|
||||
@pytest.mark.skipif(
|
||||
platform.system() == "Windows", reason="Failing on Windows.")
|
||||
def test_ray_debugger_stepping(shutdown_only):
|
||||
ray.init(num_cpus=1)
|
||||
|
||||
|
@ -64,6 +68,8 @@ def test_ray_debugger_stepping(shutdown_only):
|
|||
ray.get(result)
|
||||
|
||||
|
||||
@pytest.mark.skipif(
|
||||
platform.system() == "Windows", reason="Failing on Windows.")
|
||||
def test_ray_debugger_recursive(shutdown_only):
|
||||
ray.init(num_cpus=1)
|
||||
|
||||
|
|
Loading…
Add table
Reference in a new issue