mirror of https://github.com/milvus-io/milvus.git
[skip ci] Improve test comments (#10493)
Signed-off-by: Binbin Lv <binbin.lv@zilliz.com>pull/10511/head
parent
1a4cbf1959
commit
1019d0a3da
|
@ -203,7 +203,7 @@ class TestDeleteParams(TestcaseBase):
|
||||||
"""
|
"""
|
||||||
target: test delete from partition
|
target: test delete from partition
|
||||||
method: delete with partition names
|
method: delete with partition names
|
||||||
expected: verify partition entities is deleted
|
expected: verify partition entities are deleted
|
||||||
"""
|
"""
|
||||||
import time
|
import time
|
||||||
# init collection and partition
|
# init collection and partition
|
||||||
|
@ -231,7 +231,7 @@ class TestDeleteParams(TestcaseBase):
|
||||||
def test_delete_default_partition(self):
|
def test_delete_default_partition(self):
|
||||||
"""
|
"""
|
||||||
target: test delete from default partition
|
target: test delete from default partition
|
||||||
method: delete with partition names is _default
|
method: delete with partition name "_default"
|
||||||
expected: assert delete successfully
|
expected: assert delete successfully
|
||||||
"""
|
"""
|
||||||
# create, insert with flush, load collection
|
# create, insert with flush, load collection
|
||||||
|
@ -269,7 +269,7 @@ class TestDeleteOperation(TestcaseBase):
|
||||||
def test_delete_from_empty_collection(self):
|
def test_delete_from_empty_collection(self):
|
||||||
"""
|
"""
|
||||||
target: test delete entities from an empty collection
|
target: test delete entities from an empty collection
|
||||||
method: create an collection and delete entities
|
method: create a collection and delete entities
|
||||||
expected: No exception
|
expected: No exception
|
||||||
"""
|
"""
|
||||||
c_name = cf.gen_unique_str(prefix)
|
c_name = cf.gen_unique_str(prefix)
|
||||||
|
@ -283,7 +283,7 @@ class TestDeleteOperation(TestcaseBase):
|
||||||
"""
|
"""
|
||||||
target: test delete entities twice
|
target: test delete entities twice
|
||||||
method: delete with same expr twice
|
method: delete with same expr twice
|
||||||
expected: No exception of second deletion
|
expected: No exception for second deletion
|
||||||
"""
|
"""
|
||||||
# init collection with nb default data
|
# init collection with nb default data
|
||||||
collection_w = self.init_collection_general(prefix, nb=tmp_nb, insert_data=True)[0]
|
collection_w = self.init_collection_general(prefix, nb=tmp_nb, insert_data=True)[0]
|
||||||
|
|
Loading…
Reference in New Issue