mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
[skip ci] Remove arguments equal to default (#9480)
Signed-off-by: ThreadDao <yufen.zong@zilliz.com>
This commit is contained in:
parent
c3501b564e
commit
b5f08ffaab
@ -721,7 +721,7 @@ class TestInsertAsync(TestcaseBase):
|
||||
expected: verify num entities
|
||||
"""
|
||||
collection_w = self.init_collection_wrap(name=cf.gen_unique_str(prefix))
|
||||
df = cf.gen_default_dataframe_data(nb=ct.default_nb)
|
||||
df = cf.gen_default_dataframe_data()
|
||||
future, _ = collection_w.insert(data=df, _async=True)
|
||||
future.done()
|
||||
mutation_res = future.result()
|
||||
@ -737,7 +737,7 @@ class TestInsertAsync(TestcaseBase):
|
||||
expected: verify num entities
|
||||
"""
|
||||
collection_w = self.init_collection_wrap(name=cf.gen_unique_str(prefix))
|
||||
df = cf.gen_default_dataframe_data(nb=ct.default_nb)
|
||||
df = cf.gen_default_dataframe_data()
|
||||
mutation_res, _ = collection_w.insert(data=df, _async=False)
|
||||
assert mutation_res.insert_count == ct.default_nb
|
||||
assert mutation_res.primary_keys == df[ct.default_int64_field_name].values.tolist()
|
||||
@ -751,7 +751,7 @@ class TestInsertAsync(TestcaseBase):
|
||||
expected: verify num entities
|
||||
"""
|
||||
collection_w = self.init_collection_wrap(name=cf.gen_unique_str(prefix))
|
||||
df = cf.gen_default_dataframe_data(nb=ct.default_nb)
|
||||
df = cf.gen_default_dataframe_data()
|
||||
future, _ = collection_w.insert(data=df, _async=True, _callback=assert_mutation_result)
|
||||
future.done()
|
||||
mutation_res = future.result()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user