nico
1f1a8b7770
enhance: modify test cases for error msg update ( #29136 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-12-15 17:28:42 +08:00
zhuwenxing
b348827102
test: add array data type and parquet file type for bulk insert case ( #29030 )
...
add array data type and parquet file type for the bulk insert case
---------
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2023-12-13 19:56:38 +08:00
nico
a1d6f02121
test: modify some cases for error msg update ( #29022 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-12-13 08:54:40 +08:00
nico
cbd3b3c836
test: modify test cases for error msg update ( #28846 )
...
#23075
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-12-04 11:22:37 +08:00
nico
845851ea1c
test: add test cases ( #28541 )
...
1. modify test cases about output a non-existed field. issue: #28465
2. add cases about creating collection using different language
3. add test case about inserting a string value to a pk(int64) field
4. add test case about search with expression using double quotes.
issue: #28365
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-11-29 10:48:26 +08:00
nico
92b48c5384
test: add range search iterator back ( #28659 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-11-29 10:30:28 +08:00
nico
4d53980456
test: modify test cases ( #28800 )
...
1. Drop a non-existing partition will not raise error now. #28722
2. Search will not raise error now when some row has less elements than
expression index. #28293
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-11-29 10:26:26 +08:00
cai.zhang
1b7a503f89
enhance: Revert import support csv format ( #28760 )
...
Revert import support csv format.
issue: #28778
Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
2023-11-28 14:32:27 +08:00
groot
9c9ab08f54
test: Avoid unstable case of bulkinsert ( #28679 )
...
test: There are too many test cases for bulkinsert+partition_key. Each
case creates 10 bulkinsert tasks to import a file with 100~200 rows. The
default num_partitions is 64 for partition_key. So, each task will
generate 64 tiny segments. There are 10 cases, each case 10 tasks, each
task 64 tiny segment, totally there are 6400 tiny segments generated.
And all these segment row count is less than 1024, no need to build
index, and take part in compaction. There will be lots of compaction
tasks generated. It costs too much time to process these compaction
tasks. Eventually, some cases are timeout after waiting 5 minutes for
their segments to be ready and cases fail.
Specifying the num_partitions to a small value can avoid this problem.
```
[2023-11-21T03:41:16.187Z] testcases/test_bulk_insert.py::TestBulkInsert::test_partition_key_on_json_file[int_scalar-True-True] PASSED [ 54%]
[2023-11-21T03:41:42.796Z] testcases/test_bulk_insert.py::TestBulkInsert::test_partition_key_on_json_file[int_scalar-False-True] PASSED [ 57%]
[2023-11-21T03:42:04.694Z] testcases/test_bulk_insert.py::TestBulkInsert::test_partition_key_on_json_file[string_scalar-True-True] PASSED [ 60%]
[2023-11-21T03:42:31.205Z] testcases/test_bulk_insert.py::TestBulkInsert::test_partition_key_on_json_file[string_scalar-False-True] PASSED [ 63%]
[2023-11-21T03:43:38.876Z] testcases/test_bulk_insert.py::TestBulkInsert::test_partition_key_on_multi_numpy_files[10-150-13-True] XPASS [ 66%]
[2023-11-21T03:49:00.357Z] testcases/test_bulk_insert.py::TestBulkInsert::test_partition_key_on_multi_numpy_files[10-150-13-False] XFAIL [ 69%]
[2023-11-21T03:53:51.811Z] testcases/test_bulk_insert.py::TestBulkInsert::test_partition_key_on_csv_file[int_scalar-True] FAILED [ 72%]
[2023-11-21T03:58:58.283Z] testcases/test_bulk_insert.py::TestBulkInsert::test_partition_key_on_csv_file[int_scalar-False] FAILED [ 75%]
[2023-11-21T04:02:04.696Z] testcases/test_bulk_insert.py::TestBulkInsert::test_partition_key_on_csv_file[string_scalar-True] PASSED [ 78%]
[2023-11-21T04:02:26.608Z] testcases/test_bulk_insert.py::TestBulkInsert::test_partition_key_on_csv_file[string_scalar-False] PASSED [ 81%]
```
Signed-off-by: yhmo <yihua.mo@zilliz.com>
2023-11-28 10:34:31 +08:00
nico
8fe2fb3eb9
test: update pymilvus version ( #28636 )
...
issue: #17614
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-11-27 12:56:25 +08:00
nico
824e278219
test: update test cases for new error code&msg ( #28706 )
...
issue: #23075
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-11-24 14:52:25 +08:00
zhuwenxing
9fd81025ea
test:skip a bulk insert testcase temporarily ( #28619 )
...
skip a bulk insert test case temporarily.
It is a known issue but needs more time to solve. skip the test case is
for not blocking other PR
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2023-11-22 10:14:22 +08:00
yah01
bfccfcd0ca
enhance: refine error messages ( #28424 )
...
- Split the simple reason and full detail
- Refine existing error messages
related: #28422
---------
Signed-off-by: yah01 <yah2er0ne@outlook.com>
2023-11-21 17:02:24 +08:00
ThreadDao
ec23107146
Add test cases for L0 delete ( #28380 )
...
- test delete records in delta logs, WAL, L0 segment
Signed-off-by: ThreadDao <yufen.zong@zilliz.com>
2023-11-14 10:26:24 +08:00
nico
4d30405a6e
update test cases ( #28339 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-11-13 09:32:31 +08:00
cai.zhang
01c5484817
No hit when the index exceeds the array length ( #28301 )
...
Signed-off-by: Cai Zhang <cai.zhang@zilliz.com>
2023-11-10 10:04:19 +08:00
KumaJie
939ee0c257
Add csv bulk insert test ( #28189 )
...
Signed-off-by: kuma <675613722@qq.com>
Co-authored-by: kuma <675613722@qq.com>
2023-11-07 20:42:22 +08:00
zhuwenxing
356af86cba
[skip e2e]Mark a case as xfail ( #28245 )
...
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2023-11-07 18:12:22 +08:00
nico
945c89f779
update pymilvus version and add cases of array exists ( #28197 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-11-07 10:14:19 +08:00
nico
f40fb01627
update test cases for new growing segment index ( #28167 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-11-06 10:08:16 +08:00
nico
d39ffba5d1
update pymilvus version and some cases ( #28066 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-11-02 10:30:15 +08:00
cqy123456
4fbe3c9142
replace loaded binlog with binlog index for search performance ( #27673 )
...
Signed-off-by: cqy123456 <qianya.cheng@zilliz.com>
2023-11-01 02:20:15 +08:00
nico
7616414083
update pymilvus version ( #27918 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-10-26 09:46:09 +08:00
nico
de26231976
update nightly test cases ( #27911 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-10-25 17:18:12 +08:00
nico
ec99eb1759
Add test cases of array contains ( #27889 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-10-24 19:24:19 +08:00
nico
6e6de17a8c
update pymilvus version ( #27791 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-10-24 09:28:21 +08:00
nico
a693af014f
Add test cases of array ( #27603 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-10-24 09:26:31 +08:00
zhuwenxing
5923f109a0
[test]Add concurrent test in ci ( #27633 )
...
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2023-10-23 11:46:21 +08:00
nico
6b33420b3a
modify error code nightly cases ( #27788 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-10-23 10:14:10 +08:00
nico
d52a74f78f
add senario: rename collection in a new db ( #27400 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-10-20 10:42:07 +08:00
nico
02d5aeaf2b
Add test cases of scann index ( #27784 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-10-20 09:58:07 +08:00
zhenshan.cao
020ad9a6bc
Rectify wrong exception messages associated with Array datatype ( #27769 )
...
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2023-10-19 17:24:07 +08:00
aoiasd
177d0351ec
fix unstable unit test of delete ( #27738 )
...
Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
2023-10-19 07:18:16 +08:00
nico
9ed3cfd925
add test cases ( #27376 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-10-17 14:16:08 +08:00
nico
5dbcdf777d
update pymilvus verison ( #27724 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-10-17 10:38:10 +08:00
nico
76bb0a7bd8
update pymilvus version and modify Error code & msg improvement ( #27609 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-10-16 09:16:07 +08:00
nico
2a7d3d8dd2
Add test cases of COSINE logic optimize ( #27647 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-10-12 13:01:34 +08:00
ThreadDao
722e3db6b8
Add case query filter json field ( #27575 )
...
Signed-off-by: ThreadDao <yufen.zong@zilliz.com>
2023-10-11 17:01:40 +08:00
Gao
7a65b6fb85
Limit faiss ivf index build thread num and fix ut ( #27567 )
...
Signed-off-by: chasingegg <chao.gao@zilliz.com>
2023-10-11 10:33:33 +08:00
smellthemoon
3b8d1ec5fd
Modify unstable ut ( #27602 )
...
Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: lixinguo <xinguo.li@zilliz.com>
2023-10-10 20:01:32 +08:00
nico
f9137d880b
Modify nightly test cases ( #27517 )
...
Signed-off-by: zilliz <zilliz@zillizdeMacBook-Pro.local>
Co-authored-by: zilliz <zilliz@zillizdeMacBook-Pro.local>
2023-10-10 11:53:34 +08:00
nico
2d58691126
modify test case search index partitions ( #27554 )
...
Signed-off-by: zilliz <zilliz@zillizdeMacBook-Pro.local>
Co-authored-by: zilliz <zilliz@zillizdeMacBook-Pro.local>
2023-10-10 11:51:33 +08:00
yanliang567
df6e0b7a2c
Skip a test for issue 27462 ( #27551 )
...
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
2023-10-09 14:55:32 +08:00
zhuwenxing
fc429cabba
[test]Fix timeout in create index ( #27437 )
...
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2023-10-08 15:09:31 +08:00
aoiasd
2607357147
Fix some unstable complex delete test ( #27497 )
...
Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
2023-10-07 17:57:31 +08:00
yanliang567
0bad7a32d2
Imporve bulk insert test in timeout ( #27500 )
...
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
2023-10-07 17:43:33 +08:00
yah01
8394b3a1ec
Block creating new error from status reason ( #27426 )
...
Signed-off-by: yah01 <yah2er0ne@outlook.com>
2023-10-07 11:29:32 +08:00
Jiquan Long
ace352aa95
Fix case test_partition_key_on_multi_numpy_files ( #27421 )
...
Signed-off-by: longjiquan <jiquan.long@zilliz.com>
2023-09-28 18:15:27 +08:00
yanliang567
3e864d4210
Merge bulkinsert partition key enable tests from 2.2.0 branch ( #27372 )
...
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
2023-09-26 18:43:32 +08:00
nico
f1257cf11b
update test cases nightly ( #27353 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-09-26 17:17:28 +08:00
yah01
6539a5ae2c
Refine DataCoord status ( #27262 )
...
Signed-off-by: yah01 <yah2er0ne@outlook.com>
2023-09-26 17:15:27 +08:00
nico
c321ac183c
modify unstable test cases about delete ( #27319 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-09-25 18:43:27 +08:00
nico
9d77c1dcda
Add test cases of delete by complex expr - part two ( #27316 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-09-25 09:01:26 +08:00
nico
206cc14d0d
Add test cases of output vector ( #27215 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-09-21 14:05:24 +08:00
nico
d77984c211
Modify test cases for instability of num_entities ( #27198 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-09-19 21:51:25 +08:00
nico
de139e34f9
Add test cases of delete and update pymilvus version ( #27179 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-09-19 19:05:23 +08:00
binbin
0aa7503d54
Enable test cases ( #27163 )
...
Signed-off-by: binbin lv <binbin.lv@zilliz.com>
2023-09-18 13:01:22 +08:00
yihao.dai
bb6711f28c
Add ChunkCache: support get vector from storage ( #26142 )
...
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2023-09-15 10:21:20 +08:00
aoiasd
e107d0794c
support complex delete expression ( #25752 )
...
Signed-off-by: aoiasd <zhicheng.yue@zilliz.com>
2023-09-12 10:19:17 +08:00
nico
5e4ae757f5
update test cases ( #26872 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-09-07 09:45:15 +08:00
nico
f0c911afc2
add case about diskann and binary index ( #26804 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-09-05 10:23:48 +08:00
yah01
3349db4aa7
Refine errors to remove changes breaking design ( #26521 )
...
Signed-off-by: yah01 <yah2er0ne@outlook.com>
2023-09-04 09:57:09 +08:00
nico
aad3d47a06
update test cases ( #26771 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-08-31 18:55:00 +08:00
nico
a8e5dc3517
Add test cases of integer overflow" ( #26645 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-08-30 18:47:01 +08:00
jaime
c603f1c244
Remove mysql metastore ( #26633 )
...
Signed-off-by: jaime <yun.zhang@zilliz.com>
2023-08-29 14:36:26 +08:00
ThreadDao
69495bd23d
Add case to test search with db ( #26596 )
...
Signed-off-by: ThreadDao <yufen.zong@zilliz.com>
2023-08-29 14:26:49 +08:00
nico
ffdb1b7984
update case test_query_expr_all_datatype_json_contains_all ( #26625 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-08-28 19:02:27 +08:00
MrPresent-Han
f31c6786ab
fix e2e test for iterator due to interface change( #26552 ) ( #26565 )
...
Signed-off-by: MrPresent-Han <chun.han@zilliz.com>
2023-08-28 11:32:26 +08:00
nico
809c7a8a0b
Add test cases of expression bool ( #26547 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-08-23 18:30:25 +08:00
nico
2b95d4c62d
Add test cases of json_contains_all and json_contains_any ( #26375 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-08-23 18:28:24 +08:00
nico
9b245f040d
Update test cases about diskann dim new range [8, 32768] ( #26381 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-08-18 14:06:18 +08:00
cqy123456
7e3323a518
update dimension range of diskann. ( #26405 )
...
Signed-off-by: cqy123456 <qianya.cheng@zilliz.com>
2023-08-17 20:26:20 +08:00
nico
9c95456dd4
Update test cases about diskann ( #26434 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-08-17 18:54:18 +08:00
nico
ec23b81f23
Add test cases of query iterator empty expression ( #26294 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-08-17 16:42:18 +08:00
nico
f9341f6640
Add test cases of query empty expression ( #26271 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-08-16 19:10:17 +08:00
binbin
bafcbf5a7b
Update range search cases ( #26372 )
...
Signed-off-by: binbin lv <binbin.lv@zilliz.com>
2023-08-16 15:09:32 +08:00
cqy123456
376642b933
reset diskann min dim limit ( #26344 )
...
Signed-off-by: cqy123456 <qianya.cheng@zilliz.com>
2023-08-15 16:45:34 +08:00
nico
a9cbf43353
Add cases about offset and alias ( #26067 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-08-14 16:59:31 +08:00
Enwei Jiao
ca1349708b
Remove time travel ralted testcase ( #26119 )
...
Signed-off-by: Enwei Jiao <enwei.jiao@zilliz.com>
2023-08-10 18:53:17 +08:00
ThreadDao
a888606423
Fix database cases ( #26174 )
...
Signed-off-by: ThreadDao <yufen.zong@zilliz.com>
2023-08-09 17:15:15 +08:00
zhuwenxing
ee5da73fae
[test]Add bulk insert for test and refactoring the checker function ( #25997 )
...
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2023-07-31 12:45:03 +08:00
nico
c0d2433549
Modify test cases ( #25967 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-07-31 10:39:08 +08:00
binbin
4ba922876e
Add test cases support for random primary keys ( #25840 )
...
Signed-off-by: binbin lv <binbin.lv@zilliz.com>
2023-07-25 19:39:12 +08:00
nico
8ee2419582
Add test cases of query count(*) filter ( #25844 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-07-25 10:47:01 +08:00
nico
552c6acbf2
Update test cases ( #25858 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-07-25 10:27:01 +08:00
cai.zhang
b15e34db21
Add contraint for compaction based indexed segments ( #25709 )
...
Signed-off-by: cai.zhang <cai.zhang@zilliz.com>
2023-07-23 21:31:00 +08:00
nico
eecf229b59
Add test cases of json contain and binary index ( #25808 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-07-21 18:38:59 +08:00
nico
393932981c
Update pymilvus version ( #25687 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-07-20 11:50:59 +08:00
Cai Yudong
73512c72fd
Remove calc_distance ( #25663 )
...
Signed-off-by: Yudong Cai <yudong.cai@zilliz.com>
2023-07-18 14:23:20 +08:00
nico
a8f73051e0
Update pymilvus version and update some test cases ( #25479 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-07-17 21:49:19 +08:00
yah01
948d1f1f4a
Handle errors by merr for QueryCoord ( #24926 )
...
Signed-off-by: yah01 <yang.cen@zilliz.com>
2023-07-17 14:59:34 +08:00
nico
21823251ab
Add some test cases ( #25317 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-07-14 21:12:31 +08:00
nico
9b64f12a6c
Add output fields value check ( #24255 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-07-07 16:58:25 +08:00
smellthemoon
948d04cdd8
Check field type when create index ( #25248 )
...
Signed-off-by: lixinguo <xinguo.li@zilliz.com>
Co-authored-by: lixinguo <xinguo.li@zilliz.com>
2023-07-03 15:26:26 +08:00
ThreadDao
7bd4c6c2cb
[cherry-pick] Add database and db rbac test cases ( #23952 ) ( #24685 )
...
Signed-off-by: ThreadDao <yufen.zong@zilliz.com>
2023-06-29 15:38:23 +08:00
nico
626516bb90
Add test cases of search iterator ( #25039 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-06-28 19:38:23 +08:00
nico
e48e9b1c77
Fix nightly cases ( #25175 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-06-28 14:20:46 +08:00
binbin
31122a6858
Update high level api test cases ( #25118 )
...
Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>
2023-06-28 14:18:51 +08:00
nico
a5734be42b
Update RBAC apis and test cases ( #25114 )
...
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-06-26 15:28:44 +08:00
jaime
18df2ba6fd
[Cherry-Pick] Support Database ( #24769 )
...
Support Database(#23742 )
Fix db nonexists error for FlushAll (#24222 )
Fix check collection limits fails (#24235 )
backward compatibility with empty DB name (#24317 )
Fix GetFlushAllState with DB (#24347 )
Remove db from global meta cache after drop database (#24474 )
Fix db name is empty for describe collection response (#24603 )
Add RBAC for Database API (#24653 )
Fix miss load the same name collection during recover stage (#24941 )
RBAC supports Database validation (#23609 )
Fix to list grant with db return empty (#23922 )
Optimize PrivilegeAll permission check (#23972 )
Add the default db value for the rbac request (#24307 )
Signed-off-by: jaime <yun.zhang@zilliz.com>
Co-authored-by: SimFG <bang.fu@zilliz.com>
Co-authored-by: longjiquan <jiquan.long@zilliz.com>
2023-06-25 17:20:43 +08:00