mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-28 14:35:27 +08:00
test: optimize ci test about compaction and flush (#46097)
Signed-off-by: nico <cheng.yuan@zilliz.com>
This commit is contained in:
parent
11c027ad81
commit
51350f4ef8
@ -87,6 +87,10 @@ extraConfigFiles:
|
||||
queryNode:
|
||||
segcore:
|
||||
exprEvalBatchSize: 512
|
||||
quotaAndLimits:
|
||||
flushRate:
|
||||
collection:
|
||||
max: 4
|
||||
metrics:
|
||||
serviceMonitor:
|
||||
enabled: true
|
||||
|
||||
@ -44,6 +44,10 @@ extraConfigFiles:
|
||||
queryNode:
|
||||
segcore:
|
||||
exprEvalBatchSize: 512
|
||||
quotaAndLimits:
|
||||
flushRate:
|
||||
collection:
|
||||
max: 4
|
||||
metrics:
|
||||
serviceMonitor:
|
||||
enabled: true
|
||||
|
||||
@ -51,6 +51,10 @@ extraConfigFiles:
|
||||
scalarField: true
|
||||
scalarIndex: true
|
||||
growingMmapEnabled: true
|
||||
quotaAndLimits:
|
||||
flushRate:
|
||||
collection:
|
||||
max: 4
|
||||
metrics:
|
||||
serviceMonitor:
|
||||
enabled: true
|
||||
|
||||
@ -36,6 +36,10 @@ extraConfigFiles:
|
||||
queryNode:
|
||||
segcore:
|
||||
exprEvalBatchSize: 512
|
||||
quotaAndLimits:
|
||||
flushRate:
|
||||
collection:
|
||||
max: 4
|
||||
image:
|
||||
all:
|
||||
pullPolicy: Always
|
||||
|
||||
@ -87,6 +87,10 @@ extraConfigFiles:
|
||||
queryNode:
|
||||
segcore:
|
||||
exprEvalBatchSize: 512
|
||||
quotaAndLimits:
|
||||
flushRate:
|
||||
collection:
|
||||
max: 4
|
||||
metrics:
|
||||
serviceMonitor:
|
||||
enabled: true
|
||||
|
||||
@ -44,6 +44,10 @@ extraConfigFiles:
|
||||
queryNode:
|
||||
segcore:
|
||||
exprEvalBatchSize: 512
|
||||
quotaAndLimits:
|
||||
flushRate:
|
||||
collection:
|
||||
max: 4
|
||||
metrics:
|
||||
serviceMonitor:
|
||||
enabled: true
|
||||
|
||||
@ -51,6 +51,10 @@ extraConfigFiles:
|
||||
scalarField: true
|
||||
scalarIndex: true
|
||||
growingMmapEnabled: true
|
||||
quotaAndLimits:
|
||||
flushRate:
|
||||
collection:
|
||||
max: 4
|
||||
metrics:
|
||||
serviceMonitor:
|
||||
enabled: true
|
||||
|
||||
@ -36,6 +36,10 @@ extraConfigFiles:
|
||||
queryNode:
|
||||
segcore:
|
||||
exprEvalBatchSize: 512
|
||||
quotaAndLimits:
|
||||
flushRate:
|
||||
collection:
|
||||
max: 4
|
||||
image:
|
||||
all:
|
||||
pullPolicy: Always
|
||||
|
||||
@ -384,7 +384,7 @@ class TestCompactionParams(TestcaseBase):
|
||||
|
||||
collection_w.create_index(ct.default_float_vec_field_name, ct.default_index)
|
||||
collection_w.compact()
|
||||
sleep(ct.max_compaction_interval + 1)
|
||||
sleep(10) # modified by nico, debug compaction time from 60s to 10s
|
||||
|
||||
# verify queryNode load the compacted segments
|
||||
collection_w.load()
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user