code: def testValidateOnce_LoadOnly_Succeed(self):
      infra_validator = executor.Executor(self._context)
      with mock.patch.object(self._serving_binary, "MakeClient"):
          with mock.patch.object(
              executor, "_create_model_server_runner"
          ):
              # Should not raise any error.
              infra_validator._ValidateOnce(
                  model_path=self._model_path,
                  serving_binary=self._serving_binary,
                  serving_spec=self._serving_spec,
                  validation_spec=self._validation_spec,
                  requests=[],
              )
  
imports: import os
  import signal
  import threading
  from typing import Any, Dict
  from unittest import mock
  import tensorflow
  from tfx.components.infra_validator import error_types
  from tfx.components.infra_validator import executor
  from tfx.components.infra_validator import request_builder
  from tfx.components.infra_validator import serving_bins
  from tfx.dsl.io import fileio
  from tfx.proto import infra_validator_pb2
  from tfx.types import artifact_utils
  from tfx.types import standard_artifacts
  from tfx.types import standard_component_specs
  from tfx.utils import path_utils
  from tfx.utils import proto_utils
  from google.protobuf import json_format
label_desc: Use image node_id 8 for calling the ExecutorTest obj's underlying member method code with example usage: obj.testValidateOnce_LoadOnly_Succeed() without return types