提交 503f4ab1 编写于 作者: D del-zhenwu 提交者: JinHai-CN

Add http (#2505)

* enable cron test on 0.10.0
Signed-off-by: Nzw <zw@milvus.io>

* fix merge result
Signed-off-by: Nshengjun.li <shengjun.li@zilliz.com>

* import test_during_creating_index_restart
Signed-off-by: Nzw <zw@milvus.io>

* add http test stage
Signed-off-by: Nzw <zw@milvus.io>

* remove
Signed-off-by: Nzw <zw@milvus.io>
Co-authored-by: Nzw <zw@milvus.io>
Co-authored-by: Nshengjun.li <shengjun.li@zilliz.com>
上级 e77a4288
......@@ -49,5 +49,6 @@ timeout(time: 180, unit: 'MINUTES') {
}
dir ("tests/milvus_python_test") {
sh "pytest . --level=2 --alluredir=\"test_out/dev/single/sqlite\" --ip ${env.HELM_RELEASE_NAME}.milvus.svc.cluster.local"
sh "pytest . --level=1 --ip ${env.HELM_RELEASE_NAME}.milvus.svc.cluster.local --port=19121 --handler=HTTP"
}
}
......@@ -755,9 +755,11 @@ class TestIndexIP:
index_param = get_simple_index["index_param"]
index_type = get_simple_index["index_type"]
logging.getLogger().info(get_simple_index)
logging.getLogger().info(connect.get_collection_info(ip_collection))
status, ids = connect.insert(ip_collection, vectors)
status = connect.create_index(ip_collection, index_type, index_param)
logging.getLogger().info(connect.get_index_info(ip_collection))
logging.getLogger().info(connect.get_collection_stats(ip_collection))
query_vecs = [vectors[0], vectors[1], vectors[2]]
top_k = 5
search_param = get_search_param(index_type)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册