code: def client_connection_timeout_1s():
      """Lower Ray Client ray.init() timeout to 1 second (default 30s) to save time"""
      with mock.patch.dict(
          os.environ,
          {
              "RAY_CLIENT_RECONNECT_GRACE_PERIOD": "1",
          },
      ):
          yield
  
file_path: ray/python/ray/tests/test_runtime_env_failure.py
imports: import os
  from unittest import mock
  import pytest
  from ray._private.ray_constants import RAY_RUNTIME_ENV_URI_PIN_EXPIRATION_S_DEFAULT
  from ray._private.runtime_env.packaging import RAY_RUNTIME_ENV_FAIL_DOWNLOAD_FOR_TESTING_ENV_VAR, RAY_RUNTIME_ENV_FAIL_UPLOAD_FOR_TESTING_ENV_VAR
  import ray
  from ray.exceptions import RuntimeEnvSetupError
label_desc: Use image node_id 3 for calling a global function with example usage: client_connection_timeout_1s() without return types