code: def test_operations(
      self, request_duration, target_component, is_check
  ):
      # start the monitor threads to check the milvus ops
      log.info("*********************Test Start**********************")
      log.info(connections.get_connection_addr("default"))
      c_name = None
      self.init_health_checkers(collection_name=c_name)
      cc.start_monitor_threads(self.health_checkers)
      log.info("*********************Load Start**********************")
      # wait request_duration
      request_duration = (
          request_duration.replace("h", "*3600+")
          .replace("m", "*60+")
          .replace("s", "")
      )
      if request_duration[-1] == "+":
          request_duration = request_duration[:-1]
      request_duration = eval(request_duration)
      # start a thread to record the time when standby is activated
      t = threading.Thread(
          target=record_time_when_standby_activated,
          args=(self.milvus_ns, self.release_name, target_component),
          kwargs={"timeout": request_duration // 2},
          daemon=True,
      )
      t.start()
      log.info(
          "start a thread to reset health_checkers when standby is activated"
      )
      for i in range(10):
          sleep(request_duration // 10)
          for k, v in self.health_checkers.items():
              v.check_result()
      if is_check:
          assert_statistic(
              self.health_checkers, succ_rate_threshold=0.99
          )
          for k, v in self.health_checkers.items():
              log.info(f"{k} rto: {v.get_rto()}")
              rto = v.get_rto()
              pytest.assume(
                  rto < 30, f"{k} rto expect 30s but get {rto}s"
              )  # rto should be less than 30s
  
      log.info(
          "*********************Chaos Test Completed**********************"
      )
  
file_path: milvus/tests/python_client/chaos/testcases/test_single_request_operation_for_standby.py
imports: import pytest
  import threading
  from time import sleep
  from pymilvus import connections
  from chaos.checker import CollectionCreateChecker, InsertChecker, FlushChecker, SearchChecker, QueryChecker, IndexCreateChecker, DeleteChecker, Op
  from utils.util_log import test_log
  from chaos import chaos_commons
  from common.common_type import CaseLabel
  from common.milvus_sys import MilvusSys
  from chaos.chaos_commons import assert_statistic
  from chaos import constants
  from delayed_assert import assert_expectations
  from utils.util_k8s import get_milvus_instance_name, get_milvus_deploy_tool, record_time_when_standby_activated
label_desc: Use image node_id 3 for calling the TestOperations obj's underlying member method code with example usage: obj.test_operations(request_duration, target_component, is_check) without return types