From efd9d542e9fa6fb5e35e12aef3ea01a5f93de411 Mon Sep 17 00:00:00 2001 From: panda-sheep <59197347+panda-sheep@users.noreply.github.com> Date: Mon, 19 Apr 2021 14:39:35 +0800 Subject: [PATCH] Changes error information (#964) Co-authored-by: Yee <2520865+yixinglu@users.noreply.github.com> --- tests/admin/test_parts.py | 6 +----- tests/tck/features/schema/Schema.feature | 2 +- 2 files changed, 2 insertions(+), 6 deletions(-) diff --git a/tests/admin/test_parts.py b/tests/admin/test_parts.py index 8ccb0991..c734bfed 100644 --- a/tests/admin/test_parts.py +++ b/tests/admin/test_parts.py @@ -60,8 +60,4 @@ class TestParts(NebulaTestSuite): # Not exist part id resp = self.client.execute('SHOW PART 10') - self.check_resp_succeeded(resp) - expected_col_names = ["Partition ID", "Leader", "Peers", "Losts"] - self.check_column_names(resp, expected_col_names) - expected_result = [] - self.check_result(resp, expected_result) + self.check_resp_failed(resp) diff --git a/tests/tck/features/schema/Schema.feature b/tests/tck/features/schema/Schema.feature index 0dc32def..e9ad4684 100644 --- a/tests/tck/features/schema/Schema.feature +++ b/tests/tck/features/schema/Schema.feature @@ -301,7 +301,7 @@ Feature: Insert string vid of vertex and edge """ DESCRIBE EDGE not_exist """ - Then a ExecutionError should be raised at runtime: Unknown error! + Then a ExecutionError should be raised at runtime: Not existed! # create edge with timestamp When executing query: """ -- GitLab