code: def check_succ_rate(func_obj):
      """check func succ rate"""
      log.debug(
          f"{func_obj.name} total: {func_obj.total}, succ: {func_obj.succ}, fail: {func_obj.fail}"
      )
      if func_obj.total == 0:
          raise MilvusException(0, f"{func_obj.name} request total 0")
      assert func_obj.fail == 0 and func_obj.succ // func_obj.total == 1
  
file_path: milvus/tests/python_client/scale/scale_common.py
imports: import os
  from pymilvus import connections, Index, MilvusException
  from utils.util_log import test_log
  from base.collection_wrapper import ApiCollectionWrapper
  from common import common_func
  from common import common_type
label_desc: Use image node_id 2 for calling a global function with example usage: check_succ_rate(func_obj) without return types