code: def test_get_unique_resource_id_respects_max_length():
      for max_length in range(5, 30, 5):
          for _ in range(10000):
              assert (
                  len(get_unique_resource_id(max_length=max_length))
                  <= max_length
              )
  
file_path: mlflow/tests/utils/test_utils.py
imports: from unittest import mock
  import pytest
  from mlflow.utils import _chunk_dict, _get_fully_qualified_class_name, _truncate_dict, get_unique_resource_id, merge_dicts
label_desc: Use image node_id 1 for calling a global function with example usage: test_get_unique_resource_id_respects_max_length() without return types