code: def test_worker_oom_score(shutdown_only):
      @ray.remote
      def get_oom_score():
          pid = os.getpid()
          with open(f"/proc/{pid}/oom_score", "r") as f:
              oom_score = f.read()
              return int(oom_score)
  
      assert ray.get(get_oom_score.remote()) >= 1000
  
imports: import os
  import sys
  import time
  import pytest
  import ray
  import ray._private.ray_constants
  from ray._private.test_utils import Semaphore, enable_external_redis, client_test_enabled, run_string_as_driver, wait_for_condition, get_gcs_memory_used, run_string_as_driver_nonblocking
  from ray.experimental.internal_kv import _internal_kv_list
  from ray.tests.conftest import call_ray_start
  import subprocess
  import psutil
label_desc: Use image node_id 8 for calling a global function with example usage: test_worker_oom_score(shutdown_only) and returns: int