mirror of https://github.com/milvus-io/milvus.git
Add http (#2505)
* enable cron test on 0.10.0 Signed-off-by: zw <zw@milvus.io> * fix merge result Signed-off-by: shengjun.li <shengjun.li@zilliz.com> * import test_during_creating_index_restart Signed-off-by: zw <zw@milvus.io> * add http test stage Signed-off-by: zw <zw@milvus.io> * remove Signed-off-by: zw <zw@milvus.io> Co-authored-by: zw <zw@milvus.io> Co-authored-by: shengjun.li <shengjun.li@zilliz.com>pull/2515/head
parent
bd0049ff14
commit
a6a9021974
|
@ -53,5 +53,6 @@ timeout(time: 180, unit: 'MINUTES') {
|
||||||
}
|
}
|
||||||
dir ("tests/milvus_python_test") {
|
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=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_param = get_simple_index["index_param"]
|
||||||
index_type = get_simple_index["index_type"]
|
index_type = get_simple_index["index_type"]
|
||||||
logging.getLogger().info(get_simple_index)
|
logging.getLogger().info(get_simple_index)
|
||||||
|
logging.getLogger().info(connect.get_collection_info(ip_collection))
|
||||||
status, ids = connect.insert(ip_collection, vectors)
|
status, ids = connect.insert(ip_collection, vectors)
|
||||||
status = connect.create_index(ip_collection, index_type, index_param)
|
status = connect.create_index(ip_collection, index_type, index_param)
|
||||||
logging.getLogger().info(connect.get_index_info(ip_collection))
|
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]]
|
query_vecs = [vectors[0], vectors[1], vectors[2]]
|
||||||
top_k = 5
|
top_k = 5
|
||||||
search_param = get_search_param(index_type)
|
search_param = get_search_param(index_type)
|
||||||
|
|
Loading…
Reference in New Issue