Skip to content

Commit

Permalink
test: enable partition key isolatio testcases in ci (#39531)
Browse files Browse the repository at this point in the history
related: #39407

Signed-off-by: zhuwenxing <[email protected]>
  • Loading branch information
zhuwenxing authored Jan 23, 2025
1 parent e0b2626 commit 176ef63
Showing 1 changed file with 1 addition and 4 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -18,9 +18,9 @@
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()
Expand Down Expand Up @@ -123,7 +123,6 @@ def test_par_key_isolation_with_valid_expr(self):
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()
Expand Down Expand Up @@ -229,7 +228,6 @@ def test_par_key_isolation_with_unsupported_expr(self):
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()
Expand Down Expand Up @@ -263,7 +261,6 @@ def test_par_key_isolation_without_partition_key(self):
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()
Expand Down

0 comments on commit 176ef63

Please sign in to comment.