Skip to content
Snippets Groups Projects
Unverified Commit 36996e6f authored by Shylock Hg's avatar Shylock Hg Committed by GitHub
Browse files

Correct the new error msg. (#770)

* Correct the new error msg.

* Fix comment.
parent 831233e6
Branches
Tags
No related merge requests found
......@@ -314,7 +314,7 @@ Feature: Update int vid of vertex and edge
SET student_default.name = "Lily", student_default.age = "10"
YIELD $^.student_default.name AS Name, $^.student_default.gender AS Gender
"""
Then a ExecutionError should be raised at runtime: Storage Error: Atomic operation failed.
Then a ExecutionError should be raised at runtime: Storage Error: Invalid data, may be wrong value type.
# Insertable: vertex 113 ("Jack") --> ("Jack", "Three")
# 113 is nonexistent, gender with default value,
# update student_default.age with string value
......@@ -324,7 +324,7 @@ Feature: Update int vid of vertex and edge
SET student_default.name = "Ann", student_default.age = "10"
YIELD $^.student_default.name AS Name, $^.student_default.gender AS Gender
"""
Then a ExecutionError should be raised at runtime: Storage Error: Atomic operation failed.
Then a ExecutionError should be raised at runtime: Storage Error: Invalid data, may be wrong value type.
# Insertable success, 115 is nonexistent, name and age without default value,
# the filter is always true.
When executing query:
......
......@@ -311,7 +311,7 @@ Feature: Update string vid of vertex and edge
SET student_default.name = "Lily", student_default.age = "10"
YIELD $^.student_default.name AS Name, $^.student_default.gender AS Gender
"""
Then a ExecutionError should be raised at runtime: Storage Error: Atomic operation failed.
Then a ExecutionError should be raised at runtime: Storage Error: Invalid data, may be wrong value type.
# Insertable: vertex "113" ("Jack") --> ("Jack", "Three")
# 113 is nonexistent, gender with default value,
# update student_default.age with string value
......@@ -321,7 +321,7 @@ Feature: Update string vid of vertex and edge
SET student_default.name = "Ann", student_default.age = "10"
YIELD $^.student_default.name AS Name, $^.student_default.gender AS Gender
"""
Then a ExecutionError should be raised at runtime: Storage Error: Atomic operation failed.
Then a ExecutionError should be raised at runtime: Storage Error: Invalid data, may be wrong value type.
# Insertable success, "115" is nonexistent, name and age without default value,
# the filter is always true.
When executing query:
......@@ -841,7 +841,7 @@ Feature: Update string vid of vertex and edge
SET name = "Lily", age = "10"
YIELD name AS Name, gender AS Gender
"""
Then a ExecutionError should be raised at runtime: Storage Error: Atomic operation failed.
Then a ExecutionError should be raised at runtime: Storage Error: Invalid data, may be wrong value type.
# Insertable: vertex "113" ("Jack") --> ("Jack", "Three")
# 113 is nonexistent, gender with default value,
# update student_default.age with string value
......@@ -851,7 +851,7 @@ Feature: Update string vid of vertex and edge
SET name = "Ann", age = "10"
YIELD name AS Name, gender AS Gender
"""
Then a ExecutionError should be raised at runtime: Storage Error: Atomic operation failed.
Then a ExecutionError should be raised at runtime: Storage Error: Invalid data, may be wrong value type.
# Insertable success, "115" is nonexistent, name and age without default value,
# the filter is always true.
When executing query:
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment