[skip ci] Add test case of benchmark (#8297)

Signed-off-by: wangting0128 <ting.wang@zilliz.com>
pull/8064/head
wt 2021-09-22 16:15:54 +08:00 committed by GitHub
parent 138abfefab
commit d01d5cb76f
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 3 additions and 1 deletions

View File

@ -82,4 +82,6 @@ class Tasks(TaskSet):
@task
def scene_test(self):
pass
op = "scene_test"
collection_name = op + '_' + str(random.randint(1, 10000)) + '_' + str(random.randint(10001, 999999))
self.client.scene_test(collection_name, vectors=self.values["X"][:3000], ids=self.values["ids"][:3000])