[skip e2e] Replace number 3000 with default nb variable (#14789)

Signed-off-by: ThreadDao <yufen.zong@zilliz.com>
pull/14799/head
ThreadDao 2022-01-05 09:47:30 +08:00 committed by GitHub
parent 31c969b76f
commit a9f8577939
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 1 additions and 1 deletions

View File

@ -1166,7 +1166,7 @@ def init_data(connect, collection, nb=ut.default_nb, partition_names=None, auto_
"""
Generate entities and add it in collection
"""
if nb == 3000:
if nb == ct.default_nb:
insert_entities = default_entities
else:
insert_entities = ut.gen_entities(nb, is_normal=True)