# Memory Stress Testcases All-in-one
#   memory stress
#     standalone
#       todo
#     cluster-1-node
#       11 pods(querynode, datanode, indexnode, pulsar, etcd, minio)
#     cluster-n-nodes
#       todo

Collections:
  -
    testcase:
      name: test_querynode_mem_stress
      chaos: chaos_querynode_mem_stress.yaml
      expectation:
          cluster_1_node:
            search: fail
            query: fail
          cluster_n_nodes:
            search: degrade
            query: degrade
  -
    testcase:
      name: test_datanode_mem_stress
      chaos: chaos_datanode_mem_stress.yaml
      expectation:
          cluster_1_node:
            flush: fail
          cluster_n_nodes:
            flush: degrade
  -
    testcase:
      name: test_proxy_mem_stress
      chaos: chaos_proxy_mem_stress.yaml
      expectation:
          cluster_1_node:
            flush: fail
          cluster_n_nodes:
            flush: degrade
  -
    testcase:
      name: test_indexnode_mem_stress
      chaos: chaos_indexnode_mem_stress.yaml
      expectation:
          cluster_1_node:
            flush: fail
          cluster_n_nodes:
            flush: degrade

  -
    testcase:
      name: test_pulsar_mem_stress
      chaos: chaos_pulsar_mem_stress.yaml
      expectation:
          cluster_1_node:
            flush: fail
          cluster_n_nodes:
            flush: degrade
  -
    testcase:
      name: test_minio_mem_stress
      chaos: chaos_minio_mem_stress.yaml
      expectation:
          cluster_1_node:
            flush: fail
          cluster_n_nodes:
            flush: degrade
  -
    testcase:
      name: test_etcd_mem_stress
      chaos: chaos_etcd_mem_stress.yaml
      expectation:
          cluster_1_node:
            flush: fail
          cluster_n_nodes:
            flush: degrade
  -
    testcase:
      name: test_standalone_mem_stress
      chaos: chaos_standalone_mem_stress.yaml
      expectation:
          cluster_1_node:
            flush: fail
          cluster_n_nodes:
            flush: degrade