code: def test_session_dir_uniqueness():
      session_dirs = set()
      for i in range(2):
          ray.init(num_cpus=1)
          session_dirs.add(
              ray._private.worker._global_node.get_session_dir_path
          )
          ray.shutdown()
      assert len(session_dirs) == 2
  
file_path: ray/python/ray/tests/test_tempfile.py
imports: import os
  import shutil
  import sys
  import time
  import pytest
  import ray
  from ray._private.test_utils import check_call_ray, wait_for_condition
label_desc: Use image node_id 9 for calling a global function with example usage: test_session_dir_uniqueness() without return types