[skip ci]Remove useless comments in testcase (#11616)

Signed-off-by: yanliang567 <yanliang.qiao@zilliz.com>
pull/11643/head
yanliang567 2021-11-11 15:04:52 +08:00 committed by GitHub
parent 891028feb5
commit 3bc1ba1bb2
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 0 additions and 6 deletions

View File

@ -507,7 +507,6 @@ class TestPartitionOperations(TestcaseBase):
assert not collection_w.has_partition(partition_name)[0] assert not collection_w.has_partition(partition_name)[0]
@pytest.mark.tags(CaseLabel.L2) @pytest.mark.tags(CaseLabel.L2)
# @pytest.mark.parametrize("flush", [True, False])
@pytest.mark.parametrize("data", [cf.gen_default_list_data(nb=3000)]) @pytest.mark.parametrize("data", [cf.gen_default_list_data(nb=3000)])
@pytest.mark.parametrize("index_param", cf.gen_simple_index()) @pytest.mark.parametrize("index_param", cf.gen_simple_index())
def test_partition_drop_indexed_partition(self, data, index_param): def test_partition_drop_indexed_partition(self, data, index_param):
@ -516,7 +515,6 @@ class TestPartitionOperations(TestcaseBase):
method: 1. create a partition method: 1. create a partition
2. insert same data 2. insert same data
3. create an index 3. create an index
4. flush or not flush (remove flush step for issue # 5837)
5. drop the partition 5. drop the partition
expected: drop successfully expected: drop successfully
""" """
@ -535,10 +533,6 @@ class TestPartitionOperations(TestcaseBase):
# create index of collection # create index of collection
collection_w.create_index(ct.default_float_vec_field_name, index_param) collection_w.create_index(ct.default_float_vec_field_name, index_param)
# # flush
# if flush:
# self._connect().flush([collection_w.name])
# drop partition # drop partition
partition_w.drop() partition_w.drop()
assert not collection_w.has_partition(partition_name)[0] assert not collection_w.has_partition(partition_name)[0]