code: def test_runner_timeouts(
      container_from_file: t.Callable[[str], ConfigDictType]
  ):
      RUNNER_TIMEOUTS = """\
  runners:
      traffic:
          timeout: 50
      test_runner_1:
          traffic:
              timeout: 100
      test_runner_2:
          resources: system
      test_runner_3:
          timeout: 60
  """
      bentoml_cfg = container_from_file(RUNNER_TIMEOUTS)
      runner_cfg = bentoml_cfg["runners"]
      assert runner_cfg["traffic"]["timeout"] == 50
      assert runner_cfg["test_runner_1"]["traffic"]["timeout"] == 100
      assert runner_cfg["test_runner_2"]["traffic"]["timeout"] == 50
      assert runner_cfg["test_runner_3"]["traffic"]["timeout"] == 60
  
file_path: BentoML/tests/unit/_internal/configuration/test_containers.py
imports: from __future__ import annotations
  import typing
  from typing import TYPE_CHECKING
  import pytest
  from bentoml.exceptions import BentoMLConfigException
label_desc: Use image node_id 5 for calling a global function with example usage: test_runner_timeouts(container_from_file) without return types