mirror of
https://github.com/wassname/ray.git
synced 2026-07-02 18:31:37 +08:00
Fix RAY_ENABLE_NEW_SCHEDULER=1 pytest test_advanced_2.py::test_zero_cpus_actor (#11817)
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user