code: def testClusterName(self):
      sdk = MockSDK()
      sdk.returns["get_project"] = APIDict(
          result=APIDict(name="release_unit_tests")
      )
      sdk.returns["get_cloud"] = APIDict(result=APIDict(provider="AWS"))
      cluster_manager = self.cls(
          test=MockTest({"name": "test"}),
          project_id=UNIT_TEST_PROJECT_ID,
          smoke_test=False,
          sdk=sdk,
      )
      self.assertRegex(cluster_manager.cluster_name, r"^test_\d+$")
      cluster_manager = self.cls(
          test=MockTest({"name": "test"}),
          project_id=UNIT_TEST_PROJECT_ID,
          smoke_test=True,
          sdk=sdk,
      )
      self.assertRegex(
          cluster_manager.cluster_name, r"^test-smoke-test_\d+$"
      )
  
imports: import os
  import sys
  import time
  import unittest
  from typing import Callable
  from unittest.mock import patch
  from freezegun import freeze_time
  from ray_release.exception import ClusterCreationError, ClusterStartupError, ClusterStartupTimeout, ClusterStartupFailed, ClusterEnvBuildError, ClusterEnvBuildTimeout, ClusterComputeCreateError, ClusterEnvCreateError
  from ray_release.cluster_manager.full import FullClusterManager
  from ray_release.cluster_manager.minimal import MinimalClusterManager
  from ray_release.tests.utils import UNIT_TEST_PROJECT_ID, UNIT_TEST_CLOUD_ID, APIDict, fail_always, fail_once, MockSDK
  from ray_release.util import get_anyscale_sdk
  from ray_release.test import Test
label_desc: Use image node_id 2 for calling the MinimalSessionManagerTest obj's underlying member method code with example usage: obj.testClusterName() without return types