code: def init_env(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")
      #
      self.host = host
      self.port = port
      self.user = user
      self.password = password
      self.milvus_sys = MilvusSys(alias="default")
      self.chaos_ns = constants.CHAOS_NAMESPACE
      self.milvus_ns = milvus_ns
      self.release_name = get_milvus_instance_name(
          self.milvus_ns, milvus_sys=self.milvus_sys
      )
      self.deploy_by = get_milvus_deploy_tool(
          self.milvus_ns, self.milvus_sys
      )
  
file_path: milvus/tests/python_client/chaos/test_chaos_apply.py
imports: import threading
  import pytest
  import time
  from time import sleep
  from pathlib import Path
  import json
  from pymilvus import connections
  from common.cus_resource_opts import CustomResourceOperations
  from common.milvus_sys import MilvusSys
  from utils.util_log import test_log
  from datetime import datetime
  from utils.util_k8s import wait_pods_ready, get_milvus_instance_name, get_milvus_deploy_tool
  from utils.util_common import update_key_value, update_key_name, gen_experiment_config, wait_signal_to_apply_chaos
  import constants
label_desc: Use image node_id 1 for calling the TestChaosApply obj's underlying member method code with example usage: obj.init_env(host, port, user, password, milvus_ns) without return types