Cancel insert_all_datatype case xfail (#8516)

Signed-off-by: ThreadDao <yufen.zong@zilliz.com>
This commit is contained in:
ThreadDao 2021-09-24 20:13:56 +08:00 committed by GitHub
parent 4c5bf89f63
commit 162e7cc228
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -692,7 +692,6 @@ class TestInsertOperation(TestcaseBase):
assert collection_w.num_entities == ct.default_nb
@pytest.mark.tags(CaseLabel.L2)
@pytest.mark.xfail(reason="issue #7513")
def test_insert_all_datatype_collection(self):
"""
target: test insert into collection that contains all datatype fields
@ -700,12 +699,11 @@ class TestInsertOperation(TestcaseBase):
expected: verify num entities
"""
self._connect()
# need to add string field
df = cf.gen_dataframe_all_data_type()
log.debug(df.head(3))
nb = 100
df = cf.gen_dataframe_all_data_type(nb=nb)
self.collection_wrap.construct_from_dataframe(cf.gen_unique_str(prefix), df,
primary_field=ct.default_int64_field_name)
assert self.collection_wrap.num_entities == ct.default_nb
assert self.collection_wrap.num_entities == nb
class TestInsertAsync(TestcaseBase):