docstr: target: test querynode group load with insufficient memory
  method: 1.Limit querynode memory ? 2Gi
          2.Load sealed data (needed memory > memory limit)
  expected: Raise an exception
docstr_tok: ["target",":","test","querynode","group","load","with","insufficient","memory","method",":","1.Limit","querynode","memory","?","2Gi","2.Load","sealed","data","(","needed","memory",">","memory","limit",")","expected",":","Raise","an","exception"]
code: def test_memory_stress_replicas_before_load(self, prepare_collection):
      """
      target: test querynode group load with insufficient memory
      method: 1.Limit querynode memory ? 2Gi
              2.Load sealed data (needed memory > memory limit)
      expected: Raise an exception
      """
      collection_w = prepare_collection
      utility_w = ApiUtilityWrapper()
      err = {"err_code": 1, "err_msg": "xxxxxxxxx"}
      # collection_w.load(replica_number=2, timeout=60, check_task=CheckTasks.err_res, check_items=err)
      collection_w.load(replica_number=5)
      utility_w.loading_progress(collection_w.name)
      search_res, _ = collection_w.search(
          cf.gen_vectors(1, dim=self.dim),
          ct.default_float_vec_field_name,
          ct.default_search_params,
          ct.default_limit,
          timeout=60,
      )
  
imports: import random
  import threading
  import time
  from time import sleep
  import pytest
  import datetime
  from pymilvus import connections
  from base.collection_wrapper import ApiCollectionWrapper
  from base.utility_wrapper import ApiUtilityWrapper
  from chaos.checker import Op, CollectionCreateChecker, InsertFlushChecker, IndexCreateChecker, SearchChecker, QueryChecker
  from common.cus_resource_opts import CustomResourceOperations
  from common import common_func
  from common import common_type
  from chaos import chaos_commons
  from chaos.chaos_commons import gen_experiment_config, get_chaos_yamls, start_monitor_threads
  from common.common_type import CaseLabel, CheckTasks
  from chaos import constants
  from utils.util_log import test_log
  from utils.util_k8s import get_querynode_id_pod_pairs
label_desc: Use image node_id 2 for calling the TestMemoryStressReplica obj's underlying member method code with example usage: obj.test_memory_stress_replicas_before_load(prepare_collection) without return types