Feilong Hou
228eb0f5d0
test: add more test cases and add bulk insert scenario ( #45770 )
...
Issue: #45756
1. add bulk insert scenario
2. fix small issue in e2e cases
3. add search group by test case
4. add timestampstz to gen_all_datatype_collection_schema
5. modify partial update testcase to ensure correct result from
timestamptz field
On branch feature/timestamps
Changes to be committed:
modified: common/bulk_insert_data.py
modified: common/common_func.py
modified: common/common_type.py
modified: milvus_client/test_milvus_client_partial_update.py
modified: milvus_client/test_milvus_client_timestamptz.py
modified: pytest.ini
modified: testcases/test_bulk_insert.py
Signed-off-by: Eric Hou <eric.hou@zilliz.com>
Co-authored-by: Eric Hou <eric.hou@zilliz.com>
2025-11-24 15:21:06 +08:00
Feilong Hou
0231a3edf8
test: enable all timestamptz case ( #45128 )
...
Issue: #44518
---------
Signed-off-by: Eric Hou <eric.hou@zilliz.com>
Co-authored-by: Eric Hou <eric.hou@zilliz.com>
2025-11-21 11:03:06 +08:00
zhuwenxing
e0df44481d
test: refactor checker to using milvus client ( #45524 )
...
/kind improvement
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2025-11-20 11:59:08 +08:00
zhuwenxing
06933c25b8
test: add geometry datatype in import testcases ( #45014 )
...
/kind improvement
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2025-11-04 16:55:33 +08:00
zhuwenxing
a03c398986
test: add import case for struct array ( #45146 )
...
/kind improvement
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2025-11-03 17:19:39 +08:00
zhuwenxing
a47c168dd7
test: add json dumps for json string data ( #45189 )
...
/kind improvement
issue: https://github.com/milvus-io/milvus/issues/44982
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2025-11-03 10:37:33 +08:00
zhuwenxing
1e130683be
test: add geometry datatype in checker ( #44794 )
...
/kind improvement
---------
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2025-10-24 11:28:04 +08:00
Feilong Hou
16ff5db79d
test: Add e2e case for timestamptz (currently skipping them) ( #44871 )
...
Issue: #44518
On branch feature/timestamps
Changes to be committed:
modified: common/common_func.py
new file: milvus_client/test_milvus_client_timestamptz.py
---------
Signed-off-by: Eric Hou <eric.hou@zilliz.com>
Co-authored-by: Eric Hou <eric.hou@zilliz.com>
2025-10-20 10:04:02 +08:00
zhagnlu
2f178f810f
fix:fix json_contains(path, int) bug ( #44814 )
...
#44816
Signed-off-by: luzhang <luzhang@zilliz.com>
Co-authored-by: luzhang <luzhang@zilliz.com>
2025-10-14 00:19:59 +08:00
Feilong Hou
f9afde23d1
test: Add New Test Cases for Partial Update ( #44483 )
...
Issue: #43872
<fix>: <fix after accidental force pull>
Changes to be committed:
modified: chaos/checker.py
modified: chaos/testcases/test_single_request_operation.py
modified: common/common_func.py
modified: common/common_type.py
modified: milvus_client/test_milvus_client_insert.py
This includes e2e cases and chaos checker.
All the cases are currently skipped due to partial update feature not
ready.
1. test_milvus_client_partial_update_insert_delete_upsert_with_flush():
insert -> delete -> flush -> query -> upsert -> flush -> query
2.
test_milvus_client_partial_update_insert_upsert_delete_upsert_flush():
insert -> upsert -> delete -> upsert -> flush -> query
3.
test_milvus_client_partial_update_insert_upsert_flush_delete_upsert_flush():
insert -> upsert -> flush -> delete -> upsert -> flush -> query Also
update requirements.txt to use latest pymilvus version
---------
Signed-off-by: Eric Hou <eric.hou@zilliz.com>
Co-authored-by: Eric Hou <eric.hou@zilliz.com>
2025-09-23 09:06:12 +08:00
wei liu
18371773dd
enhance: Optimize partial update merge logic by unifying nullable format ( #44197 )
...
issue: #43980
This commit optimizes the partial update merge logic by standardizing
nullable field representation before merge operations to avoid corner
cases during the merge process.
Key changes:
- Unify nullable field data format to FULL FORMAT before merge execution
- Add extensive unit tests for bounds checking and edge cases
The optimization ensures:
- Consistent nullable field representation across SDK and internal
- Proper handling of null values during merge operations
- Prevention of index out-of-bounds errors in vector field updates
- Better error handling and validation for partial update scenarios
This resolves issues where different nullable field formats could cause
merge failures or data corruption during partial update operations.
Signed-off-by: Wei Liu <wei.liu@zilliz.com>
2025-09-10 17:27:56 +08:00
yanliang567
ec6681b018
test: add tests for ngram and fix invalid collection name mag ( #43990 )
...
related issue: #43989
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
2025-08-21 18:45:47 +08:00
yanliang567
d45274512c
test: Refactor search tests and remove useless common functions ( #43608 )
...
related issue: #40698
---------
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
2025-08-05 11:15:39 +08:00
qixuan
3d8f728091
test: modify add field case about skipped cases ( #43461 )
...
related issue: #42126
Signed-off-by: qixuan <673771573@qq.com>
2025-07-24 14:26:54 +08:00
yanliang567
abb3aeacdf
test: Refactor diskann and hsnw index, and update gen data functions ( #43452 )
...
related issue #40698
1. add diskann and hnsw index test
2. update gen_row_data and gen_column_data functions
---------
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
2025-07-23 22:04:54 +08:00
qixuan
1cd593b673
test:add go sdk case for add field ( #43033 )
...
issue: #42126
Signed-off-by: qixuan <673771573@qq.com>
2025-07-09 18:20:47 +08:00
yanliang567
e8011908ac
test: Add tests for partition key filter issue and ttl eventually search ( #43052 )
...
related issue: #42918
1. add tests for ttl eventually search
2. add tests for partition key filter
3. improve check query results for output fields
4. verify some fix for rabitq index and update the test accordingly
5. update gen random float vector in (-1, 1) instead of (0,1)
---------
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
2025-07-02 11:02:43 +08:00
zhuwenxing
b043ff14c2
test: add add_collection_field feature in checker for chaos test ( #42085 )
...
/kind improvement
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2025-06-20 15:24:39 +08:00
yanliang567
fb7f19dfa1
test: update ttl test comments and update for expressions tests ( #42611 )
...
related issue: #42604
1. update the test expression for all to L3 for now as it takes too many
hours to complete running. Will improve the performance in next pr.
---------
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
2025-06-11 16:52:38 +08:00
binbin
ceb8434cb4
test: add more general expr cases ( #42035 )
...
Signed-off-by: binbin lv <binbin.lv@zilliz.com>
2025-05-28 22:26:28 +08:00
zhuwenxing
bfa948c2d4
test: Add int8 vector field support in search checker ( #42047 )
...
/kind improvement
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2025-05-26 16:18:49 +08:00
binbin
eea6b50fbb
test: add test cases for int8 vector ( #41957 )
...
Signed-off-by: binbin lv <binbin.lv@zilliz.com>
2025-05-23 09:24:28 +08:00
binbin
804b175771
test: add test cases for rerank ( #42012 )
...
Signed-off-by: binbin lv <binbin.lv@zilliz.com>
2025-05-22 17:04:25 +08:00
yanliang567
f20e085b22
test: Update ivf_rabitq error msg and groupby support nullable field ( #41997 )
...
related issue: #41898
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
2025-05-21 22:20:25 +08:00
yanliang567
d475d93a3d
test: Add ivf_rabitq index tests ( #41914 )
...
related issue: #41760
---------
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
2025-05-20 19:28:24 +08:00
yanliang567
ee659d50db
test: [E2e Refactor] update search basic tests and add a pk_name instead of hard code ( #41669 )
...
related issue: https://github.com/milvus-io/milvus/issues/40698
---------
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
2025-05-09 21:58:54 +08:00
yanliang567
70b311735b
test: [E2e Refactor] use vector datatype instead of hard code dataype names ( #41497 )
...
related issue: #40698
1. use vector datat types instead of hard code datatpe names
2. update search pagination tests
3. remove checking distances in search results checking, for knowhere
customize the distances for different metrics and indexes. Now only
assert the distances are sorted correct.
---------
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
2025-04-25 10:46:38 +08:00
zhuwenxing
b5fe6a5243
test: add icu tokenizer testcases ( #41501 )
...
/kind improvement
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2025-04-24 18:54:38 +08:00
yanliang567
6a9ecb760f
test: Update binary pagination search assertion for more stable ( #41370 )
...
related issue: #41362
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
2025-04-17 14:16:32 +08:00
zhuwenxing
6a12304d1e
test: add alter collection checker ( #41281 )
...
/kind improvement
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2025-04-15 11:02:34 +08:00
zhuwenxing
8b9bb5dd68
test: add JsonQueryChecker in test ( #41096 )
...
/kind improvement
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2025-04-10 10:28:29 +08:00
yanliang567
bbaa3c71f4
test: [E2e Refactor]gen collection name by testcase name and update search pagination test ( #41170 )
...
1. gen collection name by testcase name
2. update search pagination test with milvus client v2
3. use collection shared mode for some tests
related issue: #40698
---------
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
2025-04-09 17:44:28 +08:00
binbin
13f31af35a
test: Add more json value expression tests ( #41137 )
...
Signed-off-by: binbin lv <binbin.lv@zilliz.com>
2025-04-09 17:18:26 +08:00
binbin
afb4621012
test: Add test cases for part of json path index ( #41016 )
...
Signed-off-by: binbin lv <binbin.lv@zilliz.com>
2025-04-03 13:02:27 +08:00
wt
5203c857b1
test: test mix scenes support batch insertion ( #40872 )
...
issues: https://github.com/milvus-io/milvus/issues/40868
Signed-off-by: wangting0128 <ting.wang@zilliz.com>
2025-03-25 10:52:29 +08:00
zhuwenxing
69fc9aa271
test: add empty sparse in import test ( #40682 )
...
/kind improvement
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2025-03-18 15:16:12 +08:00
yihao.dai
b2a8694686
enhance: Merge IndexNode and DataNode ( #40272 )
...
Merge DataNode and IndexNode into DataNode.
issue: https://github.com/milvus-io/milvus/issues/39115
---------
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2025-03-13 14:26:11 +08:00
binbin
345538d10a
test: Add test cases for part of json path index ( #40445 )
...
Signed-off-by: binbin lv <binbin.lv@zilliz.com>
2025-03-10 14:30:07 +08:00
yanliang567
7d35d023a3
test: Remove the old get index params method ( #40319 )
...
related issue: https://github.com/milvus-io/milvus/issues/40156
remove the old get index params method and update the new one
---------
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
2025-03-04 17:12:06 +08:00
zhuwenxing
45256c41d6
test: fix text match ( #40295 )
...
/kind improvement
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2025-03-03 21:26:00 +08:00
zhuwenxing
ac7550da82
test: fix duplicate import file names in tests ( #40181 )
...
/kind improvement
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2025-02-26 14:02:05 +08:00
zhuwenxing
01966280da
test: add run_analyzer api test and lindera tokenizer test ( #40160 )
...
/kind improvement
/hold
---------
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2025-02-26 10:29:55 +08:00
zhuwenxing
828ecacadc
test: fix checker function name, release mistake and add nullable ( #40135 )
...
/kind improvement
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2025-02-26 10:27:56 +08:00
zhuwenxing
9d37f0f9ee
test: add fts and text match verification in second test ( #39970 )
...
/kind improvement
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2025-02-19 14:12:58 +08:00
yanliang567
5fdc7578bb
test: Add sparse invert index algo check tests ( #39691 )
...
related issue: #39332
---------
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
2025-02-12 12:14:46 +08:00
zhuwenxing
13cffafca1
test: add phrase match testcases ( #39689 )
...
/kind improvement
---------
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2025-02-10 15:28:45 +08:00
laurazhao0611
a5217e9f36
test: add database milvus client testcases ( #39505 )
...
/kind improvement
---------
Signed-off-by: laurazhao0611 <laurazhao@zilliz.com>
Co-authored-by: laurazhao0611 <laurazhao@zilliz.com>
2025-01-23 18:45:07 +08:00
zhuwenxing
bef042afd5
test: add scalar index for compatibility testing ( #39291 )
...
/kind improvement
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2025-01-17 14:33:10 +08:00
nico
93ce4b1c97
test: modify milvus client rbac test cases ( #39079 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2025-01-16 11:39:01 +08:00
Xianhui Lin
e5eb1159e2
fix: Refine the err msg of alter index invalid ( #39137 )
...
fix: Refine the err msg of alter index invalid
issue: https://github.com/milvus-io/milvus/issues/38517
Signed-off-by: Xianhui.Lin <xianhui.lin@zilliz.com>
2025-01-10 12:08:57 +08:00