code: def _custom_grpc_options(
      call_recording_mock: Mock,
      additional_options: Optional[Union[list, Dict[str, Any]]] = None,
  ) -> List[Tuple[str, Any]]:
      call_recording_mock()
      expected_grpc_option_keys = [
          "grpc.max_send_message_length",
          "grpc.keepalive_time_ms",
      ]
  
      if not additional_options:
          raise RuntimeError()
      if all(
          [
              key not in additional_options.keys()
              for key in expected_grpc_option_keys
          ]
      ):
          raise RuntimeError()
  
      return get_default_grpc_options()
  
file_path: jina/tests/unit/serve/runtimes/test_helper.py
imports: from typing import Any, Dict, List, Optional, Tuple, Union, ClassVar
  from unittest.mock import Mock
  import pytest
  from jina._docarray import docarray_v2
  from jina.serve.helper import get_default_grpc_options
  from jina.serve.runtimes.helper import _get_name_from_replicas_name, _is_param_for_specific_executor, _parse_specific_params, _spit_key_and_executor_name
label_desc: Use image node_id 5 for calling a global function with example usage: _custom_grpc_options(call_recording_mock, additional_options) and returns: get_default_grpc_options