class_docstr: Test case of action before reinstall 
class_docstr_tok: ["Test","case","of","action","before","reinstall"]
docstr: before reinstall: create collection
docstr_tok: ["before","reinstall",":","create","collection"]
code: def test_task_all_empty(self, index_type, replica_number):
      """
      before reinstall: create collection
      """
      name = ""
      for k, v in locals().items():
          if k in ["self", "name"]:
              continue
          name += f"_{k}_{v}"
      name = prefix + name + "_" + "empty"
      is_binary = False
      if "BIN" in name:
          is_binary = True
      collection_w = self.init_collection_general(
          insert_data=False,
          is_binary=is_binary,
          name=name,
          enable_dynamic_field=False,
          with_json=False,
          is_index=False,
      )[0]
      if collection_w.has_index():
          index_names = [
              index.index_name for index in collection_w.indexes
          ]
          for index_name in index_names:
              collection_w.drop_index(index_name=index_name)
  
file_path: milvus/tests/python_client/deploy/testcases/test_action_first_deployment.py
imports: import pytest
  import pymilvus
  from common import common_func
  from common import common_type
  from common.common_type import CaseLabel, CheckTasks
  from common.milvus_sys import MilvusSys
  from utils.util_pymilvus import *
  from deploy.base import TestDeployBase
  from deploy.common import gen_index_param, gen_search_param
  from utils.util_log import test_log
label_desc: Use image node_id 2 for calling the TestActionFirstDeployment obj's underlying member method code with example usage: obj.test_task_all_empty(index_type, replica_number) without return types