[TEST] Fix Ray windows build for debugger (#12671)

* Fix Ray windows build for debugger

* update
This commit is contained in:
Philipp Moritz
2020-12-08 18:12:48 -08:00
committed by Max Fitton
parent 16f7abfb8f
commit ec81eca6b0
2 changed files with 7 additions and 1 deletions
+1 -1
View File
@@ -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())
+6
View File
@@ -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)