mirror of
https://gitee.com/milvus-io/milvus.git
synced 2025-12-08 01:58:34 +08:00
Update chart version and add concerned cases (#21766)
Signed-off-by: nico <cheng.yuan@zilliz.com>
This commit is contained in:
parent
b0b0929c6c
commit
297fef67c7
@ -8,7 +8,7 @@ String cron_string = BRANCH_NAME == "master" ? "50 1 * * * " : ""
|
|||||||
// Make timeout 4 hours so that we can run two nightly during the ci
|
// Make timeout 4 hours so that we can run two nightly during the ci
|
||||||
int total_timeout_minutes = 7 * 60
|
int total_timeout_minutes = 7 * 60
|
||||||
def imageTag=''
|
def imageTag=''
|
||||||
def chart_version='3.2.13'
|
def chart_version='4.0.6'
|
||||||
pipeline {
|
pipeline {
|
||||||
triggers {
|
triggers {
|
||||||
cron """${cron_timezone}
|
cron """${cron_timezone}
|
||||||
|
|||||||
@ -4,7 +4,7 @@ int total_timeout_minutes = 60 * 5
|
|||||||
int e2e_timeout_seconds = 70 * 60
|
int e2e_timeout_seconds = 70 * 60
|
||||||
def imageTag=''
|
def imageTag=''
|
||||||
int case_timeout_seconds = 10 * 60
|
int case_timeout_seconds = 10 * 60
|
||||||
def chart_version='3.2.13'
|
def chart_version='4.0.6'
|
||||||
pipeline {
|
pipeline {
|
||||||
options {
|
options {
|
||||||
timestamps()
|
timestamps()
|
||||||
|
|||||||
@ -490,6 +490,7 @@ class TestNewIndexBase(TestcaseBase):
|
|||||||
assert len(collection_w.indexes) == 1
|
assert len(collection_w.indexes) == 1
|
||||||
|
|
||||||
@pytest.mark.tags(CaseLabel.L1)
|
@pytest.mark.tags(CaseLabel.L1)
|
||||||
|
@pytest.mark.xfail(reason="Each RPC is limited to 64 MB")
|
||||||
def test_annoy_index(self):
|
def test_annoy_index(self):
|
||||||
# The strange thing is that the indexnode crash is only reproduced when nb is 50000 and dim is 512
|
# The strange thing is that the indexnode crash is only reproduced when nb is 50000 and dim is 512
|
||||||
nb = 50000
|
nb = 50000
|
||||||
|
|||||||
@ -813,6 +813,20 @@ class TestInsertOperation(TestcaseBase):
|
|||||||
primary_field=ct.default_int64_field_name)
|
primary_field=ct.default_int64_field_name)
|
||||||
assert self.collection_wrap.num_entities == nb
|
assert self.collection_wrap.num_entities == nb
|
||||||
|
|
||||||
|
@pytest.mark.tags(CaseLabel.L2)
|
||||||
|
def test_insert_equal_to_resource_limit(self):
|
||||||
|
"""
|
||||||
|
target: test insert data equal to RPC limitation 64MB (67108864)
|
||||||
|
method: calculated critical value and insert equivalent data
|
||||||
|
expected: raise exception
|
||||||
|
"""
|
||||||
|
nb = 127583
|
||||||
|
collection_name = cf.gen_unique_str(prefix)
|
||||||
|
collection_w = self.init_collection_wrap(name=collection_name)
|
||||||
|
data = cf.gen_default_dataframe_data(nb)
|
||||||
|
collection_w.insert(data=data)
|
||||||
|
assert collection_w.num_entities == nb
|
||||||
|
|
||||||
|
|
||||||
class TestInsertAsync(TestcaseBase):
|
class TestInsertAsync(TestcaseBase):
|
||||||
"""
|
"""
|
||||||
@ -1042,6 +1056,21 @@ class TestInsertInvalid(TestcaseBase):
|
|||||||
error = {ct.err_code: 1, ct.err_msg: "Data type is not support."}
|
error = {ct.err_code: 1, ct.err_msg: "Data type is not support."}
|
||||||
mutation_res, _ = collection_w.insert(data=df, check_task=CheckTasks.err_res, check_items=error)
|
mutation_res, _ = collection_w.insert(data=df, check_task=CheckTasks.err_res, check_items=error)
|
||||||
|
|
||||||
|
@pytest.mark.tags(CaseLabel.L1)
|
||||||
|
def test_insert_over_resource_limit(self):
|
||||||
|
"""
|
||||||
|
target: test insert over RPC limitation 64MB (67108864)
|
||||||
|
method: insert excessive data
|
||||||
|
expected: raise exception
|
||||||
|
"""
|
||||||
|
nb = 150000
|
||||||
|
collection_name = cf.gen_unique_str(prefix)
|
||||||
|
collection_w = self.init_collection_wrap(name=collection_name)
|
||||||
|
data = cf.gen_default_dataframe_data(nb)
|
||||||
|
error = {ct.err_code: 1, ct.err_msg: "<_MultiThreadedRendezvous of RPC that terminated with:"
|
||||||
|
"status = StatusCode.RESOURCE_EXHAUSTED"}
|
||||||
|
collection_w.insert(data=data, check_task=CheckTasks.err_res, check_items=error)
|
||||||
|
|
||||||
|
|
||||||
class TestInsertInvalidBinary(TestcaseBase):
|
class TestInsertInvalidBinary(TestcaseBase):
|
||||||
"""
|
"""
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user