mirror of https://github.com/milvus-io/milvus.git
Skip unresolved cases and reslove warnings (#21677)
Signed-off-by: nico <cheng.yuan@zilliz.com>pull/21724/head
parent
32fb409e57
commit
aecb7ea639
|
@ -2243,6 +2243,7 @@ class TestLoadCollection(TestcaseBase):
|
|||
yield request.param
|
||||
|
||||
@pytest.mark.tags(CaseLabel.L2)
|
||||
@pytest.mark.xfail("issue #21618")
|
||||
def test_load_replica_non_number(self, get_non_number_replicas):
|
||||
"""
|
||||
target: test load collection with non-number replicas
|
||||
|
|
|
@ -276,7 +276,7 @@ class TestInsertParams(TestcaseBase):
|
|||
nb = 10
|
||||
df = cf.gen_default_dataframe_data(nb)
|
||||
new_float_value = pd.Series(data=[float(i) for i in range(nb)], dtype="float64")
|
||||
df.iloc[:, 1] = new_float_value
|
||||
df[df.columns[1]] = new_float_value
|
||||
error = {ct.err_code: 1, ct.err_msg: 'The data fields number is not match with schema.'}
|
||||
collection_w.insert(data=df, check_task=CheckTasks.err_res, check_items=error)
|
||||
|
||||
|
@ -1137,7 +1137,7 @@ class TestInsertString(TestcaseBase):
|
|||
nb = 10
|
||||
df = cf.gen_default_dataframe_data(nb)
|
||||
new_float_value = pd.Series(data=[float(i) for i in range(nb)], dtype="float64")
|
||||
df.iloc[:, 2] = new_float_value
|
||||
df[df.columns[2]] = new_float_value
|
||||
error = {ct.err_code: 1, ct.err_msg: "The data type of field varchar doesn't match, expected: VARCHAR, got DOUBLE"}
|
||||
collection_w.insert(data=df, check_task=CheckTasks.err_res, check_items=error)
|
||||
|
||||
|
|
|
@ -316,6 +316,7 @@ class TestPartitionParams(TestcaseBase):
|
|||
yield request.param
|
||||
|
||||
@pytest.mark.tags(CaseLabel.L2)
|
||||
@pytest.mark.xfail("issue #21618")
|
||||
def test_load_partition_replica_non_number(self, get_non_number_replicas):
|
||||
"""
|
||||
target: test load partition with non-number replicas
|
||||
|
|
Loading…
Reference in New Issue