Generate unique collection name for comparison tese case (#20031)

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>

Signed-off-by: Congqi Xia <congqi.xia@zilliz.com>
pull/19986/head
congqixia 2022-10-24 17:51:30 +08:00 committed by GitHub
parent c8ecb81c04
commit 69822bdf4f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -2285,7 +2285,7 @@ class TestCollectionSearch(TestcaseBase):
fields = [cf.gen_int64_field("int64_1"), cf.gen_int64_field("int64_2"),
cf.gen_float_vec_field(dim=dim)]
schema = cf.gen_collection_schema(fields=fields, primary_field="int64_1")
collection_w = self.init_collection_wrap(name="comparison", schema=schema)
collection_w = self.init_collection_wrap(name=cf.gen_unique_str("comparison"), schema=schema)
#2. inset data
values = pd.Series(data=[i for i in range(0, nb)])