[Core] [Tests] Skip memory limit determination test for Windows. (#23955)

Memory limit determination test is not relevant for Windows; we already skip the CPU limit determination tests for Windows, so we skip for the memory limit determination as well.
This commit is contained in:
Clark Zinzow 2022-04-16 20:19:08 -07:00 committed by GitHub
parent 408ac5e537
commit 93a8fb78ca
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -274,6 +274,7 @@ def test_accelerator_type_api(shutdown_only):
wait_for_condition(lambda: ray.available_resources()[resource_name] < quantity)
@pytest.mark.skipif(sys.platform == "win32", reason="not relevant for windows")
def test_get_system_memory():
# cgroups v1, set
with tempfile.NamedTemporaryFile("w") as memory_limit_file: