code: def test_default_retry_retries_transient_failures(
      make_client: Callable[[], Determined]
  ) -> None:
      client = make_client()
  
      model_resp = api_responses.sample_get_model()
      get_model_url = f"{_MASTER}/api/v1/models/{model_resp.model.name}"
  
      # Mock retry requests within default max retries (5).
      responses.get(get_model_url, status=504)
      responses.get(get_model_url, status=504)
      responses.get(
          get_model_url, status=200, json=model_resp.to_json()
      )
  
      client.get_model(model_resp.model.name)
      responses.assert_call_count(get_model_url, 3)
  
file_path: determined/harness/tests/determined/common/experimental/test_determined.py
imports: import math
  from typing import Callable, List
  from unittest import mock
  import pytest
  import responses
  from determined.common.api import authentication, errors
  from determined.common.experimental import determined, experiment
  from tests.fixtures import api_responses
label_desc: Use image node_id 3 for calling a global function with example usage: test_default_retry_retries_transient_failures(make_client) without return types