test: enable partition key isolatio testcases in ci (#39531)

related: https://github.com/milvus-io/milvus/issues/39407

Signed-off-by: zhuwenxing <wenxing.zhu@zilliz.com>
pull/38775/head^2
zhuwenxing 2025-01-23 14:33:06 +08:00 committed by GitHub
parent e0b26260f2
commit 176ef631bc
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194
1 changed files with 1 additions and 4 deletions

View File

@ -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()