diff --git a/python/ray/tests/test_advanced_9.py b/python/ray/tests/test_advanced_9.py
index <HASH>..<HASH> 100644
--- a/python/ray/tests/test_advanced_9.py
+++ b/python/ray/tests/test_advanced_9.py
@@ -186,6 +186,10 @@ def test_function_table_gc_actor(call_ray_start):
     wait_for_condition(lambda: function_entry_num(job_id) == 0)
 
 
+@pytest.mark.skipif(
+    sys.platform != "linux",
+    reason="This test is only run on linux machines.",
+)
 def test_worker_oom_score(shutdown_only):
     @ray.remote
     def get_oom_score():
[core] Skip windows test for adjusting worker OOM score (#<I>)

Fixes CI failure introduced in #<I>.