Skip to content

Commit

Permalink
Fix unit tests
Browse files Browse the repository at this point in the history
  • Loading branch information
dkirov-dd committed Dec 23, 2024
1 parent 11c337e commit 10f74ee
Show file tree
Hide file tree
Showing 6 changed files with 2,616 additions and 2,372 deletions.
2 changes: 1 addition & 1 deletion milvus/metadata.csv
Original file line number Diff line number Diff line change
Expand Up @@ -27,7 +27,7 @@ milvus.datacoord.datanode_num,gauge,,,,Number of data nodes,0,milvus,,,
milvus.datacoord.import_tasks,gauge,,,,The import tasks grouping by type and state,0,milvus,,,
milvus.datacoord.index.node_num,gauge,,,,Number of IndexNodes managed by IndexCoord,0,milvus,,,
milvus.datacoord.index.req.count,count,,,,Number of building index requests,0,milvus,,,
milvus.datacoord.index.task_count,gauge,,,,Number of index tasks of each type,0,milvus,,,
milvus.datacoord.index.task,gauge,,,,Number of index tasks of each type,0,milvus,,,
milvus.datacoord.segment_num,gauge,,,,Number of segments,0,milvus,,,
milvus.datacoord.stored.binlog_size,gauge,,byte,,Binlog size of healthy segments,0,milvus,,,
milvus.datacoord.stored.index_files_size,gauge,,byte,,Index files size of the segments,0,milvus,,,
Expand Down
2 changes: 1 addition & 1 deletion milvus/tests/common.py
Original file line number Diff line number Diff line change
Expand Up @@ -63,6 +63,7 @@ def get_fixture_path(filename):
'milvus.datacoord.consume_datanode_tt_lag_ms': 'gauge',
'milvus.datacoord.datanode_num': 'gauge',
'milvus.datacoord.import_tasks': 'gauge',
'milvus.datacoord.index.task': 'gauge',
'milvus.datacoord.index.node_num': 'gauge',
'milvus.datacoord.index.req.count': 'monotonic_count',
'milvus.datacoord.segment_num': 'gauge',
Expand Down Expand Up @@ -390,7 +391,6 @@ def get_fixture_path(filename):

OTHER_TEST_METRICS = {
'milvus.datacoord.channel_checkpoint_unix_seconds': 'gauge',
'milvus.datacoord.index.task_count': 'gauge',
'milvus.datacoord.stored.binlog_size': 'gauge',
'milvus.datacoord.stored.index_files_size': 'gauge',
'milvus.datacoord.stored.rows_num': 'gauge',
Expand Down
2 changes: 1 addition & 1 deletion milvus/tests/compose/docker-compose.yaml
Original file line number Diff line number Diff line change
@@ -1,6 +1,6 @@
services:
milvus:
image: milvusdb/milvus
image: milvusdb/milvus:v2.5.0
security_opt:
- seccomp:unconfined
environment:
Expand Down
2 changes: 1 addition & 1 deletion milvus/tests/compose/requirements.txt
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
numpy==1.26.4
pymilvus==2.2.17
pymilvus==2.5.1
Loading

0 comments on commit 10f74ee

Please sign in to comment.