From 9c574b7c7b65728a772b1112791e8ab7267d15dc Mon Sep 17 00:00:00 2001 From: "zhenshan.cao" <zhenshan.cao@zilliz.com> Date: Tue, 23 Mar 2021 18:40:08 +0800 Subject: [PATCH] Update sdk version to 0.0.55 Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com> --- internal/kv/etcd/etcd_kv.go | 3 ++- internal/kv/minio/minio_kv.go | 3 ++- tests/python_test/requirements.txt | 2 +- 3 files changed, 5 insertions(+), 3 deletions(-) diff --git a/internal/kv/etcd/etcd_kv.go b/internal/kv/etcd/etcd_kv.go index daea9a4da..ec1ef457f 100644 --- a/internal/kv/etcd/etcd_kv.go +++ b/internal/kv/etcd/etcd_kv.go @@ -31,7 +31,7 @@ func NewEtcdKV(client *clientv3.Client, rootPath string) *EtcdKV { client: client, rootPath: rootPath, } - go kv.performanceTest(false, 16<<20) + //go kv.performanceTest(false, 16<<20) return kv } @@ -265,6 +265,7 @@ func (kv *EtcdKV) performanceTest(toFile bool, totalBytes int) { tc = time.Since(startT) results.Cases = append(results.Cases, Case{Name: "read", BlockSize: len(data), Speed: 16.0 / tc.Seconds()}) } + kv.RemoveWithPrefix(fmt.Sprintf("performance-rand%d", r)) mb, err := json.Marshal(results) if err != nil { return diff --git a/internal/kv/minio/minio_kv.go b/internal/kv/minio/minio_kv.go index 652471a03..9f8992f7c 100644 --- a/internal/kv/minio/minio_kv.go +++ b/internal/kv/minio/minio_kv.go @@ -76,7 +76,7 @@ func NewMinIOKV(ctx context.Context, option *Option) (*MinIOKV, error) { minioClient: minIOClient, bucketName: option.BucketName, } - go kv.performanceTest(false, 16<<20) + //go kv.performanceTest(false, 16<<20) return kv, nil } @@ -223,6 +223,7 @@ func (kv *MinIOKV) performanceTest(toFile bool, totalBytes int) { tc = time.Since(startT) results.Cases = append(results.Cases, Case{Name: "read", BlockSize: len(data), Speed: 16.0 / tc.Seconds()}) } + kv.RemoveWithPrefix(fmt.Sprintf("performance-rand%d", r)) mb, err := json.Marshal(results) if err != nil { return diff --git a/tests/python_test/requirements.txt b/tests/python_test/requirements.txt index 14ecf9bef..13b2dac19 100644 --- a/tests/python_test/requirements.txt +++ b/tests/python_test/requirements.txt @@ -10,7 +10,7 @@ allure-pytest==2.7.0 pytest-print==0.2.1 pytest-level==0.1.1 pytest-xdist==2.2.1 -pymilvus-distributed==0.0.54 +pymilvus-distributed==0.0.55 pytest-rerunfailures==9.1.1 git+https://github.com/Projectplace/pytest-tags ndg-httpsclient -- GitLab