code: def test_create_sqlalchemy_engine_with_retry_success():
      with mock.patch(
          "sqlalchemy.inspect"
      ) as mock_sqlalchemy_inspect, mock.patch(
          "mlflow.store.db.utils.create_sqlalchemy_engine",
          return_value="Engine",
      ) as mock_create_sqlalchemy_engine, mock.patch(
          "time.sleep"
      ) as mock_sleep:
          engine = utils.create_sqlalchemy_engine_with_retry(
              "mydb://host:port/"
          )
          mock_create_sqlalchemy_engine.assert_called_once_with(
              "mydb://host:port/"
          )
          mock_sqlalchemy_inspect.assert_called_once()
          mock_sleep.assert_not_called()
          assert engine == "Engine"
  
file_path: mlflow/tests/store/db/test_utils.py
imports: from unittest import mock
  import pytest
  from sqlalchemy.pool import NullPool
  from sqlalchemy.pool.impl import QueuePool
  from mlflow.store.db import utils
label_desc: Use image node_id 6 for calling a global function with example usage: test_create_sqlalchemy_engine_with_retry_success() without return types