Unify rootcoord debug log (#12080)

Signed-off-by: yudong.cai <yudong.cai@zilliz.com>
This commit is contained in:
Cai Yudong 2021-11-19 12:11:12 +08:00 committed by GitHub
parent bcba7349fd
commit 074687e32e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 263 additions and 463 deletions

File diff suppressed because it is too large Load Diff

View File

@ -71,7 +71,7 @@ class TestCreateBase:
code = getattr(e, 'code', "The exception does not contain the field of code.")
assert code == 1
message = getattr(e, 'message', "The exception does not contain the field of message.")
assert message == "create partition failed: partition name = %s already exists" % default_tag
assert message == "CreatePartition failed: partition name = %s already exists" % default_tag
assert ut.compare_list_elements(connect.list_partitions(collection), [default_tag, '_default'])
@pytest.mark.tags(CaseLabel.L2)
@ -88,7 +88,7 @@ class TestCreateBase:
code = getattr(e, 'code', "The exception does not contain the field of code.")
assert code == 1
message = getattr(e, 'message', "The exception does not contain the field of message.")
assert message == "create partition failed: can't find collection: %s" % collection_name
assert message == "CreatePartition failed: can't find collection: %s" % collection_name
@pytest.mark.tags(CaseLabel.L0)
def test_create_partition_name_name_none(self, connect, collection):