From 0f7c68b4f927dc40c05e73d226458e64fb365924 Mon Sep 17 00:00:00 2001 From: "kyle.cao" Date: Thu, 16 Sep 2021 10:38:07 +0800 Subject: [PATCH] fix tck --- tests/tck/features/insert/Insert.feature | 4 ++-- tests/tck/features/insert/InsertEdgeOnDiffParts.feature | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/tests/tck/features/insert/Insert.feature b/tests/tck/features/insert/Insert.feature index bf93863d498..79460174a6e 100644 --- a/tests/tck/features/insert/Insert.feature +++ b/tests/tck/features/insert/Insert.feature @@ -490,12 +490,12 @@ Feature: Insert string vid of vertex and edge """ INSERT VERTEX student(name, age) VALUES "Tom":(NULL, 12) """ - Then a ExecutionError should be raised at runtime: Storage Error: The not null field cannot be null. + Then a SemanticError should be raised at runtime: Storage Error: The not null field cannot be null. When executing query: """ INSERT VERTEX student(name, age) VALUES "Tom":(NULL, 12) """ - Then a ExecutionError should be raised at runtime: Storage Error: The not null field cannot be null. + Then a SemanticError should be raised at runtime: Storage Error: The not null field cannot be null. # out of fixed_string's size When executing query: """ diff --git a/tests/tck/features/insert/InsertEdgeOnDiffParts.feature b/tests/tck/features/insert/InsertEdgeOnDiffParts.feature index ae527767741..040c3c803eb 100644 --- a/tests/tck/features/insert/InsertEdgeOnDiffParts.feature +++ b/tests/tck/features/insert/InsertEdgeOnDiffParts.feature @@ -8,7 +8,7 @@ Feature: Insert vertex and edge with if not exists Given an empty graph And create a space with following options: | partition_num | 9 | - | replica_factor | 3 | + | replica_factor | 1 | | vid_type | FIXED_STRING(20) | And having executed: """