mirror of
https://gitee.com/milvus-io/milvus.git
synced 2024-12-03 04:19:18 +08:00
remove sq8h
Former-commit-id: 31deed25ae121396fe8352efad36609452ac6c01
This commit is contained in:
parent
f410219fc2
commit
581c662b61
@ -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
|
||||
|
||||
"""
|
||||
******************************************************************
|
||||
|
Loading…
Reference in New Issue
Block a user