mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-02 03:48:37 +08:00
Create index before load for upgrading test (#21222)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com> Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
This commit is contained in:
parent
37152d58bb
commit
2c95411e0f
@ -9,7 +9,7 @@ from utils import *
|
||||
def task_1(data_size, host):
|
||||
"""
|
||||
task_1:
|
||||
before upgrade: create collection and insert data with flush, load and search
|
||||
before upgrade: create collection and insert data with flush, create index, load and search
|
||||
after upgrade: get collection, load, search, insert data with flush, release, create index, load, and search
|
||||
"""
|
||||
prefix = "task_1_"
|
||||
|
@ -9,13 +9,14 @@ from utils import *
|
||||
def task_1(data_size, host):
|
||||
"""
|
||||
task_1:
|
||||
before upgrade: create collection and insert data with flush, load and search
|
||||
before upgrade: create collection and insert data with flush, create index, load and search
|
||||
after upgrade: get collection, load, search, insert data with flush, release, create index, load, and search
|
||||
"""
|
||||
prefix = "task_1_"
|
||||
connections.connect(host=host, port=19530, timeout=60)
|
||||
get_collections(prefix)
|
||||
create_collections_and_insert_data(prefix, data_size)
|
||||
create_index(prefix)
|
||||
load_and_search(prefix)
|
||||
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user