mirror of
https://gitee.com/milvus-io/milvus.git
synced 2026-01-07 19:31:51 +08:00
Update sdk version to 0.0.55
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
This commit is contained in:
parent
25f3e520f9
commit
9c574b7c7b
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
@ -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
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user