code: def connection(self, host, port, user, password, milvus_ns):
      if user and password:
          # log.info(f"connect to {host}:{port} with user {user} and password {password}")
          connections.connect(
              "default",
              host=host,
              port=port,
              user=user,
              password=password,
              secure=True,
          )
      else:
          connections.connect("default", host=host, port=port)
      if connections.has_connection("default") is False:
          raise Exception("no connections")
      log.info("connect to milvus successfully")
      self.host = host
      self.port = port
      self.user = user
      self.password = password
      self.milvus_sys = MilvusSys(alias="default")
      self.milvus_ns = milvus_ns
      self.release_name = get_milvus_instance_name(
          self.milvus_ns, milvus_sys=self.milvus_sys
      )
  
file_path: milvus/tests/python_client/chaos/testcases/test_all_checker_operation.py
imports: import time
  import pytest
  from time import sleep
  from pymilvus import connections
  from chaos.checker import DatabaseCreateChecker, DatabaseDropChecker, CollectionCreateChecker, CollectionDropChecker, PartitionCreateChecker, PartitionDropChecker, CollectionLoadChecker, CollectionReleaseChecker, PartitionLoadChecker, PartitionReleaseChecker, IndexCreateChecker, IndexDropChecker, InsertChecker, UpsertChecker, DeleteChecker, FlushChecker, SearchChecker, QueryChecker, Op, EventRecords, ResultAnalyzer
  from utils.util_log import test_log
  from utils.util_k8s import wait_pods_ready, get_milvus_instance_name
  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
label_desc: Use image node_id 1 for calling the TestOperations obj's underlying member method code with example usage: obj.connection(host, port, user, password, milvus_ns) without return types