code: def pytest_addoption(parser):
      parser.addoption(
          "--host",
          action="store",
          default="localhost",
          help="service's ip",
      )
      parser.addoption(
          "--service",
          action="store",
          default="",
          help="service address",
      )
      parser.addoption(
          "--port", action="store", default=19530, help="service's port"
      )
      parser.addoption(
          "--user",
          action="store",
          default="",
          help="user name for connection",
      )
      parser.addoption(
          "--password",
          action="store",
          default="",
          help="password for connection",
      )
      parser.addoption(
          "--db_name",
          action="store",
          default="default",
          help="database name for connection",
      )
      parser.addoption(
          "--secure",
          type=bool,
          action="store",
          default=False,
          help="secure for connection",
      )
      parser.addoption(
          "--milvus_ns",
          action="store",
          default="chaos-testing",
          help="milvus_ns",
      )
      parser.addoption(
          "--http_port",
          action="store",
          default=19121,
          help="http's port",
      )
      parser.addoption(
          "--handler",
          action="store",
          default="GRPC",
          help="handler of request",
      )
      parser.addoption(
          "--tag",
          action="store",
          default="all",
          help="only run tests matching the tag.",
      )
      parser.addoption(
          "--dry_run", action="store_true", default=False, help=""
      )
      parser.addoption(
          "--partition_name",
          action="store",
          default="partition_name",
          help="name of partition",
      )
      parser.addoption(
          "--connect_name",
          action="store",
          default="connect_name",
          help="name of connect",
      )
      parser.addoption(
          "--descriptions",
          action="store",
          default="partition_des",
          help="descriptions of partition",
      )
      parser.addoption(
          "--collection_name",
          action="store",
          default="collection_name",
          help="name of collection",
      )
      parser.addoption(
          "--search_vectors",
          action="store",
          default="search_vectors",
          help="vectors of search",
      )
      parser.addoption(
          "--index_param",
          action="store",
          default="index_param",
          help="index_param of index",
      )
      parser.addoption(
          "--data",
          action="store",
          default="data",
          help="data of request",
      )
      parser.addoption(
          "--clean_log",
          action="store_true",
          default=False,
          help="clean log before testing",
      )
      parser.addoption(
          "--schema",
          action="store",
          default="schema",
          help="schema of test interface",
      )
      parser.addoption(
          "--err_msg",
          action="store",
          default="err_msg",
          help="error message of test",
      )
      parser.addoption(
          "--term_expr",
          action="store",
          default="term_expr",
          help="expr of query quest",
      )
      parser.addoption(
          "--check_content",
          action="store",
          default="check_content",
          help="content of check",
      )
      parser.addoption(
          "--field_name",
          action="store",
          default="field_name",
          help="field_name of index",
      )
      parser.addoption(
          "--replica_num",
          type="int",
          action="store",
          default=ct.default_replica_num,
          help="memory replica number",
      )
      parser.addoption(
          "--minio_host",
          action="store",
          default="localhost",
          help="minio service's ip",
      )
      parser.addoption(
          "--uri",
          action="store",
          default="",
          help="uri for high level api",
      )
      parser.addoption(
          "--token",
          action="store",
          default="",
          help="token for high level api",
      )
      parser.addoption(
          "--request_duration",
          action="store",
          default="10m",
          help="request_duration",
      )
  
imports: import logging
  import pytest
  import functools
  import socket
  import common.common_type
  import common.common_func
  from utils.util_log import test_log
  from common.common_func import param_info
  from check.param_check import ip_check, number_check
  from config.log_config import log_config
  from utils.util_pymilvus import get_milvus, gen_unique_str, gen_default_fields, gen_binary_default_fields
  from pymilvus.orm.types import CONSISTENCY_STRONG
label_desc: Use image node_id 1 for calling a global function with example usage: pytest_addoption(parser) without return types