code: def test_docker_project_execution_async_docker_args(
      docker_example_base_image,
  ):  # pylint: disable=unused-argument
      submitted_run = mlflow.projects.run(
          TEST_DOCKER_PROJECT_DIR,
          experiment_id=file_store.FileStore.DEFAULT_EXPERIMENT_ID,
          parameters={"use_start_run": "0"},
          entry_point="test_tracking",
          docker_args={"memory": "1g", "privileged": True},
          synchronous=False,
      )
      submitted_run.wait()
  
      args = submitted_run.command_proc.args
      assert len([a for a in args if a == "--docker-args"]) == 2
      first_idx = args.index("--docker-args")
      second_idx = args.index("--docker-args", first_idx + 1)
      assert args[first_idx + 1] == "memory=1g"
      assert args[second_idx + 1] == "privileged"
  
imports: import os
  from unittest import mock
  import pytest
  from databricks_cli.configure.provider import DatabricksConfig
  import docker
  import mlflow
  from mlflow import MlflowClient
  from mlflow.entities import ViewType
  from mlflow.environment_variables import MLFLOW_TRACKING_URI
  from mlflow.exceptions import MlflowException
  from mlflow.projects import ExecutionException, _project_spec
  from mlflow.projects.backend.local import _get_docker_command
  from mlflow.projects.docker import _get_docker_image_uri
  from mlflow.store.tracking import file_store
  from mlflow.utils.mlflow_tags import MLFLOW_DOCKER_IMAGE_ID, MLFLOW_DOCKER_IMAGE_URI, MLFLOW_PROJECT_BACKEND, MLFLOW_PROJECT_ENV
  from tests.projects.utils import TEST_DOCKER_PROJECT_DIR, docker_example_base_image
label_desc: Use image node_id 3 for calling a global function with example usage: test_docker_project_execution_async_docker_args(docker_example_base_image) without return types