Commit Graph

2599 Commits (845851ea1ce854f828a742e11085b5d33437487b)

Author SHA1 Message Date
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
wayblink 5aedbd0af4
fix: Repair integration test framework (#28308)
#28307

Signed-off-by: wayblink <anyang.wang@zilliz.com>
2023-11-24 10:26:23 +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
PowderLi c238bff9fb
fix: symbol 'GetStorageMetrics' and 'enableDynamicField' (#28580)
/kind bug
to #28579 #28504

1. replace enableDynamic with enableDynamicField
2. cgo directly link to milvus_storage

Signed-off-by: PowderLi <min.li@zilliz.com>
2023-11-21 10:20:22 +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
sre-ci-robot cd294056fc
Update Pytest image changes (#28211)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-11-08 19:08:27 +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
Bennu 8c71e2bd64
Update milvs helm repo for ci (#28042)
Signed-off-by: Bennu-Li <yunmei.li@zilliz.com>
2023-11-01 18:54:16 +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
Filip Haltmayer 6b1a106a31
Moving etcd client into session (#27069)
Signed-off-by: Filip Haltmayer <filip.haltmayer@zilliz.com>
2023-10-27 07:36:12 +08:00
zhuwenxing b56a944289
[skip e2e]Fix get image tag (#27943)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2023-10-26 15:36:10 +08:00
nico 7616414083
update pymilvus version (#27918)
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-10-26 09:46:09 +08:00
yanliang567 8b5b33fce0
Update simd compatibility test (#27880)
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
2023-10-25 17:20:14 +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
sre-ci-robot 0cdd5818ac
Update Pytest image changes (#27871)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-25 09:44:11 +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
zhuwenxing 906b348e00
[skip e2e]Update chaos duration time (#27879)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2023-10-24 11:47:59 +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 0c33ddb7c5
[skip e2e]Skip creating index when it was already created (#27849)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2023-10-23 11:48:09 +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
zhuwenxing 38fc652fdd
[test]Reduce some op frequency (#27826)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2023-10-23 11:44:22 +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
zhuwenxing 5247ea3fd1
[skip e2e]Update the method whether vector field is indexed (#27820)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2023-10-20 14:02:07 +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
sre-ci-robot 7858ca62cd
Update Pytest image changes (#27805)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-20 09:52:09 +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
dependabot[bot] d3d79c0ff4
Bump urllib3 from 1.26.16 to 1.26.18 in /tests/restful_client (#27754)
Bumps [urllib3](https://github.com/urllib3/urllib3) from 1.26.16 to 1.26.18.
- [Release notes](https://github.com/urllib3/urllib3/releases)
- [Changelog](https://github.com/urllib3/urllib3/blob/main/CHANGES.rst)
- [Commits](https://github.com/urllib3/urllib3/compare/1.26.16...1.26.18)

---
updated-dependencies:
- dependency-name: urllib3
  dependency-type: direct:production
...

Signed-off-by: dependabot[bot] <support@github.com>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
2023-10-19 07:20:09 +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
sre-ci-robot eff773aa9b
Update Pytest image changes (#27739)
Co-authored-by: github-actions[bot] <41898282+github-actions[bot]@users.noreply.github.com>
2023-10-18 19:10:11 +08:00
nico 9ed3cfd925
add test cases (#27376)
Signed-off-by: nico <cheng.yuan@zilliz.com>
2023-10-17 14:16:08 +08:00
Sheldon 217e5224db
add gpu support (#27427)
add gpu support

Signed-off-by: Sheldon <chuanfeng.liu@zilliz.com>
2023-10-17 11:44:09 +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
zhuwenxing 6a2b16fd6c
[skip e2e]Fix get image tag for 2.2.0 branch (#27674)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2023-10-12 18:03:36 +08:00
zhuwenxing 5b405ca28a
[skip e2e]Remove compact in concurrent test (#27666)
Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
2023-10-12 15:13:34 +08:00