Add random actor placement; fix cancellation callback; update test skips (#11684)

This commit is contained in:
Eric Liang
2020-10-30 18:36:35 -07:00
committed by GitHub
parent b10871a1f5
commit 48dee789b3
14 changed files with 112 additions and 27 deletions
+2
View File
@@ -14,6 +14,7 @@ import ray.test_utils
from ray.test_utils import (
RayTestTimeoutException,
wait_for_condition,
new_scheduler_enabled,
)
logger = logging.getLogger(__name__)
@@ -251,6 +252,7 @@ def test_zero_cpus(shutdown_only):
ray.get(x)
@pytest.mark.skipif(new_scheduler_enabled(), reason="zero cpu handling")
def test_zero_cpus_actor(ray_start_cluster):
cluster = ray_start_cluster
cluster.add_node(num_cpus=0)