code: def test_system_config(ray_start_cluster_head):
      """Checks that the internal configuration setting works.
  
      We set the cluster to timeout nodes after 2 seconds of no timeouts. We
      then remove a node, wait for 1 second to check that the cluster is out
      of sync, then wait another 2 seconds (giving 1 second of leeway) to check
      that the client has timed out. We also check to see if the config is set.
      """
      cluster = ray_start_cluster_head
      worker = cluster.add_node()
      cluster.wait_for_nodes()
  
      @ray.remote
      def f():
          assert ray._config.object_timeout_milliseconds() == 12345
          assert ray._config.health_check_initial_delay_ms() == 0
          assert ray._config.health_check_failure_threshold() == 3
          assert ray._config.health_check_period_ms() == 1000
  
      ray.get([f.remote() for _ in range(5)])
  
      cluster.remove_node(worker, allow_graceful=False)
      time.sleep(1)
      assert ray.cluster_resources()["CPU"] == 2
  
      def _node_removed():
          return ray.cluster_resources()["CPU"] == 1
  
      wait_for_condition(_node_removed, timeout=3)
  
file_path: ray/python/ray/tests/test_multi_node_2.py
imports: import logging
  import time
  import pytest
  import ray
  from ray._private.test_utils import SignalActor, generate_system_config_map, wait_for_condition
  from ray.autoscaler._private.monitor import Monitor
  from ray.autoscaler.sdk import request_resources
  from ray.cluster_utils import Cluster
  from ray.util.placement_group import placement_group, remove_placement_group
label_desc: Use image node_id 3 for calling a global function with example usage: test_system_config(ray_start_cluster_head) and returns: unknown