mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-07 09:38:39 +08:00
[skip ci] Add comment to scale queryNode and dataNode test (#13551)
Signed-off-by: ThreadDao <yufen.zong@zilliz.com>
This commit is contained in:
parent
853a7a1a60
commit
4e678d89d8
@ -23,9 +23,16 @@ class TestDataNodeScale:
|
|||||||
@pytest.mark.tags(CaseLabel.L3)
|
@pytest.mark.tags(CaseLabel.L3)
|
||||||
def test_scale_data_node(self):
|
def test_scale_data_node(self):
|
||||||
"""
|
"""
|
||||||
target:
|
target: test scale dataNode
|
||||||
method:
|
method: 1.deploy milvus cluster with 2 dataNode
|
||||||
expected:
|
2.create collection with shards_num=5
|
||||||
|
3.continuously insert new data (daemon thread)
|
||||||
|
4.expand dataNode from 2 to 5
|
||||||
|
5.create new collection with shards_num=2
|
||||||
|
6.continuously insert new collection new data (daemon thread)
|
||||||
|
7.shrink dataNode from 5 to 3
|
||||||
|
expected: Verify milvus remains healthy, Insert and flush successfully during scale
|
||||||
|
Average dataNode memory usage
|
||||||
"""
|
"""
|
||||||
release_name = "scale-data"
|
release_name = "scale-data"
|
||||||
image = f'{constants.IMAGE_REPOSITORY}:{constants.IMAGE_TAG}'
|
image = f'{constants.IMAGE_REPOSITORY}:{constants.IMAGE_TAG}'
|
||||||
|
|||||||
@ -25,6 +25,16 @@ class TestQueryNodeScale:
|
|||||||
|
|
||||||
@pytest.mark.tags(CaseLabel.L3)
|
@pytest.mark.tags(CaseLabel.L3)
|
||||||
def test_scale_query_node(self):
|
def test_scale_query_node(self):
|
||||||
|
"""
|
||||||
|
target: test scale queryNode
|
||||||
|
method: 1.deploy milvus cluster with 1 queryNode
|
||||||
|
2.prepare work (connect, create, insert, index and load)
|
||||||
|
3.continuously search (daemon thread)
|
||||||
|
4.expand queryNode from 2 to 5
|
||||||
|
5.continuously insert new data (daemon thread)
|
||||||
|
6.shrink queryNode from 5 to 3
|
||||||
|
expected: Verify milvus remains healthy and search successfully during scale
|
||||||
|
"""
|
||||||
release_name = "scale-query"
|
release_name = "scale-query"
|
||||||
query_config = {
|
query_config = {
|
||||||
'metadata.namespace': constants.NAMESPACE,
|
'metadata.namespace': constants.NAMESPACE,
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user