未验证 提交 8aa4a37a 编写于 作者: D del-zhenwu 提交者: GitHub

[skip ci] disable cron on 0.10.0 (#2566)

* enable cron test on 0.10.0
Signed-off-by: Nzw <zw@milvus.io>

* fix merge result
Signed-off-by: Nshengjun.li <shengjun.li@zilliz.com>

* import test_during_creating_index_restart
Signed-off-by: Nzw <zw@milvus.io>

* disable restart case
Signed-off-by: Nzw <zw@milvus.io>

* [skip ci] Disable cron on 0.10.0
Signed-off-by: Nzw <zw@milvus.io>

* enable cron
Signed-off-by: Nzw <zw@milvus.io>

* [skip ci] disable cron on 0.10.0
Signed-off-by: Nzw <zw@milvus.io>

* [skip ci] remove repeat
Signed-off-by: Nzw <zw@milvus.io>
Co-authored-by: Nzw <zw@milvus.io>
Co-authored-by: Nshengjun.li <shengjun.li@zilliz.com>
上级 5f3c0052
#!/usr/bin/env groovy
String cron_timezone = "TZ=Asia/Shanghai"
String cron_string = BRANCH_NAME == "0.10.0" ? "50 22 * * * " : ""
String cron_string = BRANCH_NAME == "master" ? "50 22 * * * " : ""
pipeline {
agent none
......
......@@ -58,12 +58,15 @@ class TestGetBase:
for i in range(length):
assert_equal_vector(res[i], vectors[i])
def test_get_vector_C_limit(self, connect, collection):
def test_get_vector_C_limit(self, connect, collection, args):
'''
target: test.get_entity_by_id
method: add vector, and get, limit > 1000
expected: status ok, vector returned
'''
if args["handler"] == "HTTP":
pytest.skip("skip in http mode")
vectors = gen_vectors(nb, dim)
status, ids = connect.insert(collection, vectors)
assert status.OK()
......
......@@ -582,7 +582,6 @@ class TestAddBase:
@pytest.mark.level(2)
@pytest.mark.timeout(30)
@pytest.mark.repeat(2)
def test_collection_add_rows_count_multi_threading(self, args, collection):
'''
target: test collection rows_count is correct or not with multi threading
......
......@@ -378,7 +378,6 @@ class TestCompactBase:
assert status.OK()
@pytest.mark.timeout(COMPACT_TIMEOUT)
@pytest.mark.repeat(10)
def test_index_creation_after_compact(self, connect, collection, get_simple_index):
'''
target: test index creation after compact
......
......@@ -34,13 +34,15 @@ class TestCreateBase:
assert status.OK()
@pytest.mark.level(3)
@pytest.mark.timeout(TIMEOUT)
def test_create_partition_limit(self, connect, collection):
def test_create_partition_limit(self, connect, collection, args):
'''
target: test create partitions, check status returned
method: call function: create_partition for 4097 times
expected: status not ok
'''
if args["handler"] == "HTTP":
pytest.skip("skip in http mode")
for i in range(4096):
tag_tmp = gen_unique_str()
status = connect.create_partition(collection, tag_tmp)
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册