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
      )
  
imports: import time
  import pytest
  import json
  from time import sleep
  from pymilvus import connections
  from chaos.checker import InsertChecker, UpsertChecker, FlushChecker, SearchChecker, QueryChecker, DeleteChecker, Op, ResultAnalyzer
  from utils.util_k8s import wait_pods_ready, get_milvus_instance_name
  from utils.util_log import test_log
  from chaos import chaos_commons
  from common import common_func
  from common.milvus_sys import MilvusSys
  from chaos.chaos_commons import assert_statistic
  from common.common_type import CaseLabel
  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