未验证 提交 5bd93f24 编写于 作者: N nico 提交者: GitHub

Update pymilvus version (#25013)

Signed-off-by: Nnico <cheng.yuan@zilliz.com>
上级 6168a55c
...@@ -12,7 +12,7 @@ allure-pytest==2.7.0 ...@@ -12,7 +12,7 @@ allure-pytest==2.7.0
pytest-print==0.2.1 pytest-print==0.2.1
pytest-level==0.1.1 pytest-level==0.1.1
pytest-xdist==2.5.0 pytest-xdist==2.5.0
pymilvus==2.4.0.dev73 pymilvus==2.4.0.dev75
pytest-rerunfailures==9.1.1 pytest-rerunfailures==9.1.1
git+https://github.com/Projectplace/pytest-tags git+https://github.com/Projectplace/pytest-tags
ndg-httpsclient ndg-httpsclient
......
...@@ -1885,7 +1885,7 @@ class TestUpsertInvalid(TestcaseBase): ...@@ -1885,7 +1885,7 @@ class TestUpsertInvalid(TestcaseBase):
collection_w.upsert(data=data, check_task=CheckTasks.err_res, check_items=error) collection_w.upsert(data=data, check_task=CheckTasks.err_res, check_items=error)
@pytest.mark.tags(CaseLabel.L2) @pytest.mark.tags(CaseLabel.L2)
@pytest.mark.parametrize("partition_name", ct.get_invalid_strs[:13]) @pytest.mark.parametrize("partition_name", ct.get_invalid_strs[7:13])
def test_upsert_partition_name_invalid(self, partition_name): def test_upsert_partition_name_invalid(self, partition_name):
""" """
target: test upsert partition name invalid target: test upsert partition name invalid
...@@ -1893,8 +1893,6 @@ class TestUpsertInvalid(TestcaseBase): ...@@ -1893,8 +1893,6 @@ class TestUpsertInvalid(TestcaseBase):
2. upsert with invalid partition name 2. upsert with invalid partition name
expected: raise exception expected: raise exception
""" """
if partition_name is None or partition_name == [] or partition_name == "":
pytest.skip("valid")
c_name = cf.gen_unique_str(pre_upsert) c_name = cf.gen_unique_str(pre_upsert)
collection_w = self.init_collection_wrap(name=c_name) collection_w = self.init_collection_wrap(name=c_name)
p_name = cf.gen_unique_str('partition_') p_name = cf.gen_unique_str('partition_')
...@@ -1922,6 +1920,7 @@ class TestUpsertInvalid(TestcaseBase): ...@@ -1922,6 +1920,7 @@ class TestUpsertInvalid(TestcaseBase):
check_task=CheckTasks.err_res, check_items=error) check_task=CheckTasks.err_res, check_items=error)
@pytest.mark.tags(CaseLabel.L2) @pytest.mark.tags(CaseLabel.L2)
@pytest.mark.skip("insert and upsert have removed the [] error check")
def test_upsert_multi_partitions(self): def test_upsert_multi_partitions(self):
""" """
target: test upsert two partitions target: test upsert two partitions
......
Markdown is supported
0% .
You are about to add 0 people to the discussion. Proceed with caution.
先完成此消息的编辑!
想要评论请 注册