diff --git a/tests/python_client/testcases/test_insert_20.py b/tests/python_client/testcases/test_insert_20.py index c845827967..e6b5b27efb 100644 --- a/tests/python_client/testcases/test_insert_20.py +++ b/tests/python_client/testcases/test_insert_20.py @@ -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):