code: def test_create_sqlalchemy_engine_with_retry_success_after_third_call():
      with mock.patch(
          "sqlalchemy.inspect",
          side_effect=[Exception, Exception, "Inspect"],
      ), mock.patch(
          "mlflow.store.db.utils.create_sqlalchemy_engine",
          return_value="Engine",
      ) as mock_create_sqlalchemy_engine, mock.patch(
          "time.sleep"
      ):
          engine = utils.create_sqlalchemy_engine_with_retry(
              "mydb://host:port/"
          )
          assert (
              mock_create_sqlalchemy_engine.mock_calls
              == [mock.call("mydb://host:port/")] * 3
          )
          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 7 for calling a global function with example usage: test_create_sqlalchemy_engine_with_retry_success_after_third_call() without return types