code: def stop_gcs_server():
      process = ray._private.worker._global_node.all_processes[
          ray._private.ray_constants.PROCESS_TYPE_GCS_SERVER
      ][0].process
      pid = process.pid
      os.kill(pid, signal.SIGSTOP)
      yield
      os.kill(pid, signal.SIGCONT)
  
imports: import contextlib
  import os
  import time
  import signal
  import sys
  import asyncio
  import async_timeout
  import pytest
  import ray
  import redis
  from ray._raylet import GcsClient
  import ray._private.gcs_utils
  from ray._private.test_utils import enable_external_redis, find_free_port, generate_system_config_map, async_wait_for_condition_async_predicate
  import ray._private.ray_constants
label_desc: Use image node_id 1 for calling a global function with example usage: stop_gcs_server() without return types