From 176ef631bc131e708e6609bf2775c5da9385a833 Mon Sep 17 00:00:00 2001 From: zhuwenxing Date: Thu, 23 Jan 2025 14:33:06 +0800 Subject: [PATCH] test: enable partition key isolatio testcases in ci (#39531) related: https://github.com/milvus-io/milvus/issues/39407 Signed-off-by: zhuwenxing --- .../python_client/testcases/test_partition_key_isolation.py | 5 +---- 1 file changed, 1 insertion(+), 4 deletions(-) diff --git a/tests/python_client/testcases/test_partition_key_isolation.py b/tests/python_client/testcases/test_partition_key_isolation.py index b87ca1ff9f..f96f6a6e26 100644 --- a/tests/python_client/testcases/test_partition_key_isolation.py +++ b/tests/python_client/testcases/test_partition_key_isolation.py @@ -18,9 +18,9 @@ fake = faker.Faker() prefix = "par_key_isolation_" +@pytest.mark.tags(CaseLabel.L1) class TestPartitionKeyIsolation(TestcaseBase): """ Test case of partition key isolation""" - @pytest.mark.tags(CaseLabel.L3) def test_par_key_isolation_with_valid_expr(self): # create self._connect() @@ -123,7 +123,6 @@ class TestPartitionKeyIsolation(TestcaseBase): log.info(f"true res {true_res}") assert len(res[0]) == len(true_res) - @pytest.mark.tags(CaseLabel.L3) def test_par_key_isolation_with_unsupported_expr(self): # create self._connect() @@ -229,7 +228,6 @@ class TestPartitionKeyIsolation(TestcaseBase): log.info(f"search with unsupported expr {false_result}, but not raise error\n") assert False - @pytest.mark.tags(CaseLabel.L3) def test_par_key_isolation_without_partition_key(self): # create self._connect() @@ -263,7 +261,6 @@ class TestPartitionKeyIsolation(TestcaseBase): log.info(f"set_properties failed without partition key {e}") assert "partition key isolation mode is enabled but no partition key field is set" in str(e) - @pytest.mark.tags(CaseLabel.L3) def test_set_par_key_isolation_after_vector_indexed(self): # create self._connect()