提交 581c662b 编写于 作者: Z zhenwu

remove sq8h


Former-commit-id: 31deed25ae121396fe8352efad36609452ac6c01
上级 f410219f
......@@ -573,7 +573,7 @@ class TestAddBase:
nq = 100
vectors = gen_vectors(nq, dim)
table_list = []
for i in range(50):
for i in range(20):
table_name = gen_unique_str('test_add_vector_multi_tables')
table_list.append(table_name)
param = {'table_name': table_name,
......@@ -581,9 +581,9 @@ class TestAddBase:
'index_file_size': index_file_size,
'metric_type': MetricType.L2}
connect.create_table(param)
time.sleep(2)
for j in range(10):
for i in range(50):
time.sleep(5)
for j in range(5):
for i in range(20):
status, ids = connect.add_vectors(table_name=table_list[i], records=vectors)
assert status.OK()
......
......@@ -37,7 +37,10 @@ class TestIndexBase:
params=gen_simple_index_params()
)
def get_simple_index_params(self, request):
yield request.param
if "internal" not in args:
if request.param["index_type"] == IndexType.IVF_SQ8H:
pytest.skip("sq8h not support in open source")
return request.param
"""
******************************************************************
......@@ -515,7 +518,10 @@ class TestIndexIP:
params=gen_simple_index_params()
)
def get_simple_index_params(self, request):
yield request.param
if "internal" not in args:
if request.param["index_type"] == IndexType.IVF_SQ8H:
pytest.skip("sq8h not support in open source")
return request.param
"""
******************************************************************
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册