Fix RAY_ENABLE_NEW_SCHEDULER=1 pytest test_advanced_2.py::test_zero_cpus_actor (#11817)

This commit is contained in:
Eric Liang
2020-11-05 16:02:04 -08:00
committed by GitHub
parent 347e871409
commit f86c4f992c
4 changed files with 16 additions and 29 deletions
-2
View File
@@ -14,7 +14,6 @@ import ray.test_utils
from ray.test_utils import (
RayTestTimeoutException,
wait_for_condition,
new_scheduler_enabled,
)
logger = logging.getLogger(__name__)
@@ -252,7 +251,6 @@ 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)