Commit Graph

137 Commits (11d16a8479b0ab03badf07db6d10fc187921d8c9)

Author SHA1 Message Date
binbin 3c6a807fd2
Add, enable and xfail test cases (#7071)
* Add, enable and xfail test cases

Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>

* Modify the test case label

Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>
2021-08-12 18:12:10 +08:00
yanliang567 51529a2638
[skip ci]Add levels for pymilvus tests (#7031)
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
2021-08-10 15:59:27 +08:00
xige-16 87c5a49d9a
Refactor showCollection/showPartition to get load state in memory (#6935)
* refactor showCollection/showPartition to get load state in memory

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* update proto

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* update proto

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* update milvus.proto

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* add show result log to debug

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* fix wrong err message

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* update pymilvus-orm version

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* fix repeated load error

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* update proto

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* fix status nil error

Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-08-02 22:39:25 +08:00
zhenshan.cao 3ac4b3b601
Update pymilvus-orm version (#6929)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-08-01 16:49:22 +08:00
zhenshan.cao 8133bfc4cf
Update pymilvus-orm version (#6926)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-08-01 14:11:23 +08:00
dragondriver 773fe6d360
Update orm version (#6924)
* Update orm version

Signed-off-by: dragondriver <jiquan.long@zilliz.com>

* Update orm version

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-07-31 19:31:22 +08:00
Bennu 93d4998777
Update orm version (#6913)
Signed-off-by: YunMei.Li <377906141@qq.com>
2021-07-31 18:23:23 +08:00
del-zhenwu ec22185ff4
Support output vectors in query (#6636)
* support output vectors in query

Signed-off-by: zhenwu <zhenxiang.li@zilliz.com>

* add query case

Signed-off-by: del-zhenwu <zhenxiang.li@zilliz.com>

* add query case

Signed-off-by: del-zhenwu <zhenxiang.li@zilliz.com>
2021-07-30 16:27:22 +08:00
ThreadDao 964af814ab
Replace pytest-parallel plug-in with pytest-xdist in orm test (#6833)
* add case running progress

Signed-off-by: ThreadDao <yufen.zong@zilliz.com>

* add case progress

change pytest-xdist -n4 to auto

Signed-off-by: ThreadDao <yufen.zong@zilliz.com>

* remove pytest-parallel plug-in

Signed-off-by: ThreadDao <yufen.zong@zilliz.com>

* add pytest -x exitfirst

Signed-off-by: ThreadDao <yufen.zong@zilliz.com>
2021-07-27 16:05:21 +08:00
binbin 8c56e091b8
Update pymilvus-orm version (#6757)
Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>
2021-07-23 11:44:12 +08:00
binbin 102831738b
Enable test cases after code fix (#6715)
Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>
2021-07-22 11:49:44 +08:00
neza2017 b66157358c
add more log for create collection (#6478)
Signed-off-by: yefu.chen <yefu.chen@zilliz.com>
2021-07-13 22:19:55 +08:00
yanliang567 51d6decb28
Update pymilvus-orm version in test requirements (#6454)
Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
2021-07-13 14:42:31 +08:00
del-zhenwu 0c70370374
Enable query case: #6074 (#6267)
Signed-off-by: zhenwu <zhenwu@milvus.io>

Co-authored-by: zhenwu <zhenwu@milvus.io>
2021-07-05 10:02:03 +08:00
del-zhenwu 8d7988bf69
fix query case (#6178)
Signed-off-by: del-zhenwu <zhenxiang.li@zilliz.com>
2021-06-30 19:44:17 +08:00
yukun 2bc93a8eae
Change pymilvus-orm version to 62 (#6172)
Signed-off-by: fishpenguin <kun.yu@zilliz.com>
2021-06-28 16:42:14 +08:00
del-zhenwu a5f74c4a6c
update query case (#6156)
Signed-off-by: del-zhenwu <zhenxiang.li@zilliz.com>
2021-06-28 13:08:08 +08:00
zhenshan.cao b04f08b0c4
Rename InsertFutue to MutationFuture (#6144)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-06-26 21:52:14 +08:00
del-zhenwu e6c21d86ce
enable the fixed query cases (#6126)
* enable the fixed query cases

Signed-off-by: del-zhenwu <zhenxiang.li@zilliz.com>

* enable the fixed query cases

Signed-off-by: del-zhenwu <zhenxiang.li@zilliz.com>

* update index cases

Signed-off-by: del-zhenwu <zhenxiang.li@zilliz.com>

* Merge from master

Signed-off-by: zhenwu <zhenxiang.li@zilliz.com>
2021-06-26 20:50:12 +08:00
ThreadDao 2977416c9b
Update collection and insert test cases (#6129)
* add insert cases for index and threading

Signed-off-by: ThreadDao <yufen.zong@zilliz.com>

* update collection and insert cases

Signed-off-by: ThreadDao <yufen.zong@zilliz.com>

* update orm version in test

Signed-off-by: ThreadDao <yufen.zong@zilliz.com>
2021-06-26 13:32:11 +08:00
break2017 6ba9fb2e9a
Disable output vec field in tests (#6133)
Signed-off-by: zhenwu <zhenxiang.li@zilliz.com>

Co-authored-by: zhenwu <zhenxiang.li@zilliz.com>
2021-06-26 11:20:11 +08:00
del-zhenwu 34d0a04139
Enable the fixed query cases (#6108)
* Enable query test cases in tests/

Signed-off-by: zw <zw@milvus.io>

* update

Signed-off-by: zw <zw@milvus.io>

* enable the fixed query cases

Signed-off-by: zw <zw@milvus.io>

Co-authored-by: zw <zw@milvus.io>
2021-06-25 14:04:10 +08:00
del-zhenwu 5d7eeddeb9
Enable query test cases in tests/ (#6089)
* Enable query test cases in tests/

Signed-off-by: zw <zw@milvus.io>

* update

Signed-off-by: zw <zw@milvus.io>

Co-authored-by: zw <zw@milvus.io>
2021-06-24 19:08:13 +08:00
xige-16 94984c41dc
open smoke test search without insert (#6036)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-06-23 19:28:08 +08:00
binbin 7d14b2d6bf
Fix code for search after release (#6026)
Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>
2021-06-23 18:12:15 +08:00
sunby 46f86a0354
Return sealed segments when calling flush (#6011)
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-06-23 16:56:11 +08:00
binbin 6406f9e2de
Modify tese case for empty search (#5991)
Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>
2021-06-22 19:22:09 +08:00
yukun b2eb596c23
Change search result to columnBased and return target_entry (#5896)
* Change search result to columnBased and return target_entry

Signed-off-by: fishpenguin <kun.yu@zilliz.com>

Co-authored-by: fluorinedog <fluorinedog@gmail.com>

* synchronize the latest pymilvus-orm version

Signed-off-by: fishpenguin <kun.yu@zilliz.com>

* Change pymilvus-orm version to 40

Signed-off-by: fishpenguin <kun.yu@zilliz.com>

Co-authored-by: fluorinedog <fluorinedog@gmail.com>
2021-06-21 20:18:13 +08:00
dragondriver 65bb336ff3
Update auto-id-related test cases (#5915)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-06-21 18:06:35 +08:00
bigsheeper 60171c5927
Open tests search without loading before (#5907)
* open tests which search without load

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>

* close complex dsl test

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>

* close test_insert_entity_search_entity_another

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-06-21 15:06:06 +08:00
dragondriver 2642415bc3
Redefine the auto_id and primary_key (#5903)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-06-21 11:42:18 +08:00
xige-16 e4c51aae36
Add recovery logic for querynode and queryservice (#5843)
* merge milvus/recovery2

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* add recovery logic in queryservice

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* debug smoke case

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* add etcd to querynode

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* fix release partition error

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* fix load balance error

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* debug querynode down and recovery

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* add log

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* fix showCollection

Signed-off-by: xige-16 <xi.ge@zilliz.com>

* skip smoke test search without insert

Signed-off-by: xige-16 <xi.ge@zilliz.com>
2021-06-19 11:45:09 +08:00
yanliang567 51bfbf1ddf
[skip ci] Update lib version in requirements (#5849)
* [skip ci] Update lib version in requirements

Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>

* Update lib version in requirements

Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>

* Reorder lib installation in requirements

Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>

* Remove pymilvus lib in requirements

Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>

* Update test image tag

Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>

* Update pymilvus-orm version in requirements

Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
2021-06-18 16:06:07 +08:00
ThreadDao dabe388da1
add cases for pymilvus query (#5841)
Signed-off-by: ThreadDao <yufen.zong@zilliz.com>
2021-06-17 20:14:00 +08:00
bigsheeper 46151d203f
Fix tSafe cannot update correctly (#5820)
* Fix tSafe cannot update correctly

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>

* skip test_load_partitions_release_collection

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>

* skip test_release_collection_during_searching

Signed-off-by: bigsheeper <yihao.dai@zilliz.com>
2021-06-17 16:56:04 +08:00
zhenshan.cao 9d17ae2c65
Add test_load_collection_without_flush (#5818)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-06-17 15:19:57 +08:00
neza2017 71ed21f9bf
Pass smoke test (#5797)
* pass smoke test

Signed-off-by: yefu.chen <yefu.chen@zilliz.com>
2021-06-16 16:59:50 +08:00
zhenshan.cao 5c69c6902d Refactor proxy channelTimeTick and fix search timeout (#5760)
Signed-off-by: zhenshan.cao <zhenshan.cao@zilliz.com>
2021-06-15 16:36:36 +08:00
bigsheeper cdbc6d2c94
Refactor query node and query service (#5751)
Signed-off-by: xige-16 <xi.ge@zilliz.com>
Signed-off-by: bigsheeper <yihao.dai@zilliz.com>

Co-authored-by: xige-16 <xi.ge@zilliz.com>
Co-authored-by: yudong.cai <yudong.cai@zilliz.com>
2021-06-15 12:41:40 +08:00
yanliang567 a0ed3dc8c6
refaceor ttest_infor to log_config (#5685)
* [skip ci] refactor test_info to log_config

Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>

* [skip ci] update chaos checker class

Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>

* add pytest-parallel in requirements

Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>

* [skip ci] update the error msg

Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>

* [skip ci] limit the length of one log row

Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
2021-06-09 16:19:48 +08:00
yanliang567 3af56ce874
combine requirements with pymilvus-orm tests (#5668)
* combine requirements with pymilvus-orm tests

Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>

* combine requirement with pymilvus test

Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
2021-06-08 17:06:36 +08:00
Xiangyu Wang e2af77afa7
Update pymilvus version (#5572)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-06-03 19:53:33 +08:00
dragondriver e76830ab09
Support column-based insert request in proxy (#5560)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-06-03 15:03:34 +08:00
Xiangyu Wang f3fb0f8b00
Change partition_tag to partition_name (#5514)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-05-31 20:02:30 +08:00
dragondriver 4caf3051dd
Update the version of pymilvus to 2.0a1.dev2 (#5388)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-05-25 02:32:48 +00:00
Xiangyu Wang bfc057d56d
Change pymilvus-distributed to pymilvus (#5369)
Signed-off-by: Xiangyu Wang <xiangyu.wang@zilliz.com>
2021-05-24 18:14:57 +08:00
sunby c1efa53779
Remove redundant fields in SegmentInfo and related structure (#5280)
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-05-21 06:51:25 +00:00
sunby ac0b878531
Update describe_index in python tests (#5328)
Signed-off-by: sunby <bingyi.sun@zilliz.com>
2021-05-21 02:12:52 +00:00
dragondriver e5d4963ba0
Distinguish the dsl and expr in proxy and query node (#5118)
Pass a parameter `IsExpr` from proxy to query node, so query 
node can create search plan according to the variable `IsExpr`.
It makes `segcore` unnecessary to distinguish `dsl` or `expr`
using dynamic exception. When `IsExpr` is set to true, query
node will call `CreatePlanByExpr` according to the passed
information about expression. Otherwise query node will keep
still to use `CreatePlan` according to the `dsl` information. At
the same time, this pr adds some unittests to `CreatePlanByExpr`,
these unittests translate already exist case with `dsl` to case with
`expr`.

Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-05-07 07:20:47 +00:00
dragondriver 56dbbfe4cb
Add simple test case to search_with_expression (#5094)
Signed-off-by: dragondriver <jiquan.long@zilliz.com>
2021-04-30 15:56:01 +08:00