code: def test_create_timeout():
      cluster = None
      try:
          env_path = "conda://" + os.environ["CONDA_PREFIX"]
          log_config_file = os.path.join(
              os.path.dirname(os.path.abspath(__file__)),
              "yarn-logging.conf",
          )
  
          with pytest.raises(TimeoutError):
              cluster = new_cluster(
                  env_path,
                  log_config=log_config_file,
                  worker_cpu=1,
                  worker_mem="1G",
                  worker_cache_mem="64m",
                  log_when_fail=True,
                  timeout=1,
              )
      finally:
          if cluster is not None:
              cluster.stop()
          _collect_coverage()
  
file_path: mars/mars/deploy/yarn/tests/test_yarn.py
imports: import glob
  import logging
  import os
  import shutil
  import sqlite3
  import subprocess
  import tempfile
  import time
  from distutils.spawn import find_executable
  import numpy
  import pytest
  from ....None import tensor
  from ....tests.core import flaky, require_hadoop
  from ...yarn import new_cluster
label_desc: Use image node_id 5 for calling a global function with example usage: test_create_timeout() without return types